[GRASS-SVN] r54265 - grass/trunk/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 11 13:16:47 PST 2012
Author: glynn
Date: 2012-12-11 13:16:47 -0800 (Tue, 11 Dec 2012)
New Revision: 54265
Modified:
grass/trunk/lib/raster/history.c
Log:
Fix memory leak
Modified: grass/trunk/lib/raster/history.c
===================================================================
--- grass/trunk/lib/raster/history.c 2012-12-11 13:29:19 UTC (rev 54264)
+++ grass/trunk/lib/raster/history.c 2012-12-11 21:16:47 UTC (rev 54265)
@@ -295,6 +295,8 @@
Rast_append_history(hist, &cmdlin[j]);
}
+ G_free(cmdlin);
+
return 0;
}
More information about the grass-commit
mailing list