[GRASS-SVN] r56529 - grass/branches/develbranch_6/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 1 09:18:46 PDT 2013


Author: annakrat
Date: 2013-06-01 09:18:46 -0700 (Sat, 01 Jun 2013)
New Revision: 56529

Modified:
   grass/branches/develbranch_6/lib/ogsf/Gv3.c
Log:
ogsf: fix crash when unloading areas (merge from trunk, r56497)

Modified: grass/branches/develbranch_6/lib/ogsf/Gv3.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/Gv3.c	2013-06-01 16:18:11 UTC (rev 56528)
+++ grass/branches/develbranch_6/lib/ogsf/Gv3.c	2013-06-01 16:18:46 UTC (rev 56529)
@@ -142,6 +142,7 @@
 
 	}
 
+	gln->cats = NULL;
 	gln->next = (geoline *) G_malloc(sizeof(geoline));	/* G_fatal_error */
 	if (!gln->next) {
 	    return (NULL);



More information about the grass-commit mailing list