[GRASS-SVN] r56497 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 29 14:21:36 PDT 2013


Author: annakrat
Date: 2013-05-29 14:21:36 -0700 (Wed, 29 May 2013)
New Revision: 56497

Modified:
   grass/trunk/lib/ogsf/Gv3.c
Log:
ogsf: fix crash when unloading areas

Modified: grass/trunk/lib/ogsf/Gv3.c
===================================================================
--- grass/trunk/lib/ogsf/Gv3.c	2013-05-29 21:18:16 UTC (rev 56496)
+++ grass/trunk/lib/ogsf/Gv3.c	2013-05-29 21:21:36 UTC (rev 56497)
@@ -145,6 +145,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