[GRASS-SVN] r40404 - grass/branches/develbranch_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 12 20:48:02 EST 2010


Author: neteler
Date: 2010-01-12 20:48:02 -0500 (Tue, 12 Jan 2010)
New Revision: 40404

Modified:
   grass/branches/develbranch_6/lib/gis/key_value1.c
Log:
backport r40399

Modified: grass/branches/develbranch_6/lib/gis/key_value1.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/key_value1.c	2010-01-13 01:47:46 UTC (rev 40403)
+++ grass/branches/develbranch_6/lib/gis/key_value1.c	2010-01-13 01:48:02 UTC (rev 40404)
@@ -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