[GRASS-SVN] r52272 - grass/branches/develbranch_6/raster/r.external
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 1 10:06:25 PDT 2012
Author: mmetz
Date: 2012-07-01 10:06:18 -0700 (Sun, 01 Jul 2012)
New Revision: 52272
Modified:
grass/branches/develbranch_6/raster/r.external/main.c
Log:
r.external: close GDALDataset
Modified: grass/branches/develbranch_6/raster/r.external/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.external/main.c 2012-07-01 17:05:46 UTC (rev 52271)
+++ grass/branches/develbranch_6/raster/r.external/main.c 2012-07-01 17:06:18 UTC (rev 52272)
@@ -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