Explorar o código

r.fill.dir: remove temporary files when done (merge from trunk, https://trac.osgeo.org/grass/changeset/67527)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67528 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=9) %!d(string=hai) anos
pai
achega
21f14d8f9f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      raster/r.fill.dir/main.c

+ 4 - 0
raster/r.fill.dir/main.c

@@ -271,6 +271,10 @@ int main(int argc, char **argv)
     Rast_close(dir_id);
     close(fd);
 
+    unlink(tempfile1);
+    unlink(tempfile2);
+    unlink(tempfile3);
+
     G_free(in_buf);
     G_free(out_buf);