[GRASS-SVN] r35068 -
grass/branches/releasebranch_6_4/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 28 01:58:15 EST 2008
Author: neteler
Date: 2008-12-28 01:58:15 -0500 (Sun, 28 Dec 2008)
New Revision: 35068
Modified:
grass/branches/releasebranch_6_4/lib/db/dbmi_base/column.c
Log:
karme: fix memory leak (trac #273, merge from trunk, r35066)
Modified: grass/branches/releasebranch_6_4/lib/db/dbmi_base/column.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/db/dbmi_base/column.c 2008-12-28 06:57:51 UTC (rev 35067)
+++ grass/branches/releasebranch_6_4/lib/db/dbmi_base/column.c 2008-12-28 06:58:15 UTC (rev 35068)
@@ -375,4 +375,7 @@
{
db_free_string(&column->columnName);
db_free_string(&column->value.s);
+ /* match init? */
+ db_free_string(&column->description);
+ db_free_string(&column->defaultValue.s);
}
More information about the grass-commit
mailing list