[GRASS-SVN] r52273 - grass/branches/releasebranch_6_4/raster/r.external
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 1 10:06:38 PDT 2012
Author: mmetz
Date: 2012-07-01 10:06:38 -0700 (Sun, 01 Jul 2012)
New Revision: 52273
Modified:
grass/branches/releasebranch_6_4/raster/r.external/main.c
Log:
r.external: close GDALDataset
Modified: grass/branches/releasebranch_6_4/raster/r.external/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.external/main.c 2012-07-01 17:06:18 UTC (rev 52272)
+++ grass/branches/releasebranch_6_4/raster/r.external/main.c 2012-07-01 17:06:38 UTC (rev 52273)
@@ -664,6 +664,9 @@
G_free(title2);
}
+ /* close the GDALDataset to avoid segfault in libgdal */
+ GDALClose(hDS);
+
if (flag_e->answer)
update_default_window(&cellhd);
More information about the grass-commit
mailing list