[GRASS-SVN] r58304 - grass/trunk/raster/r.out.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 25 07:34:48 PST 2013


Author: mmetz
Date: 2013-11-25 07:34:47 -0800 (Mon, 25 Nov 2013)
New Revision: 58304

Modified:
   grass/trunk/raster/r.out.gdal/export_band.c
Log:
r.out.gdal: close raster after export

Modified: grass/trunk/raster/r.out.gdal/export_band.c
===================================================================
--- grass/trunk/raster/r.out.gdal/export_band.c	2013-11-25 13:10:42 UTC (rev 58303)
+++ grass/trunk/raster/r.out.gdal/export_band.c	2013-11-25 15:34:47 UTC (rev 58304)
@@ -445,6 +445,8 @@
 	}
     }
 
+    Rast_close(fd);
+
     G_free(bufer);
 
     return ret;



More information about the grass-commit mailing list