[GRASS-SVN] r40403 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 12 20:47:47 EST 2010
Author: neteler
Date: 2010-01-12 20:47:46 -0500 (Tue, 12 Jan 2010)
New Revision: 40403
Modified:
grass/branches/releasebranch_6_4/lib/gis/key_value1.c
Log:
backport r40399
Modified: grass/branches/releasebranch_6_4/lib/gis/key_value1.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/key_value1.c 2010-01-13 00:18:19 UTC (rev 40402)
+++ grass/branches/releasebranch_6_4/lib/gis/key_value1.c 2010-01-13 01:47:46 UTC (rev 40403)
@@ -146,6 +146,9 @@
{
int n;
+ if (!kv)
+ return;
+
for (n = 0; n < kv->nitems; n++) {
G_free(kv->key[n]);
G_free(kv->value[n]);
More information about the grass-commit
mailing list