[GRASS-SVN] r58316 - grass/branches/develbranch_6/raster/r.out.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 26 14:57:04 PST 2013
Author: neteler
Date: 2013-11-26 14:57:03 -0800 (Tue, 26 Nov 2013)
New Revision: 58316
Modified:
grass/branches/develbranch_6/raster/r.out.gdal/export_band.c
Log:
r.out.gdal: close raster band (backport from trunk, r58304, r58305
Modified: grass/branches/develbranch_6/raster/r.out.gdal/export_band.c
===================================================================
--- grass/branches/develbranch_6/raster/r.out.gdal/export_band.c 2013-11-26 22:56:55 UTC (rev 58315)
+++ grass/branches/develbranch_6/raster/r.out.gdal/export_band.c 2013-11-26 22:57:03 UTC (rev 58316)
@@ -214,6 +214,8 @@
ret = -1;
}
+ G_close_cell(fd);
+
G_free(bufer);
return ret;
@@ -485,6 +487,8 @@
}
}
+ G_close_cell(fd);
+
G_free(bufer);
return ret;
More information about the grass-commit
mailing list