[GRASS-SVN] r35066 - grass/trunk/lib/db/dbmi_base

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 28 01:56:58 EST 2008


Author: neteler
Date: 2008-12-28 01:56:58 -0500 (Sun, 28 Dec 2008)
New Revision: 35066

Modified:
   grass/trunk/lib/db/dbmi_base/column.c
Log:
karme: fix memory leak (trac #273)

Modified: grass/trunk/lib/db/dbmi_base/column.c
===================================================================
--- grass/trunk/lib/db/dbmi_base/column.c	2008-12-27 16:57:31 UTC (rev 35065)
+++ grass/trunk/lib/db/dbmi_base/column.c	2008-12-28 06:56:58 UTC (rev 35066)
@@ -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