[GRASS-SVN] r44380 - grass/trunk/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 23 04:51:39 EST 2010
Author: glynn
Date: 2010-11-23 01:51:39 -0800 (Tue, 23 Nov 2010)
New Revision: 44380
Modified:
grass/trunk/lib/raster/history.c
Log:
Clear array pointer after deallocation
Modified: grass/trunk/lib/raster/history.c
===================================================================
--- grass/trunk/lib/raster/history.c 2010-11-23 09:15:24 UTC (rev 44379)
+++ grass/trunk/lib/raster/history.c 2010-11-23 09:51:39 UTC (rev 44380)
@@ -310,6 +310,7 @@
if (hist->lines)
G_free(hist->lines);
+ hist->lines = NULL;
hist->nlines = 0;
}
More information about the grass-commit
mailing list