[GRASS-SVN] r54934 - grass/trunk/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 5 07:30:43 PST 2013


Author: mmetz
Date: 2013-02-05 07:30:43 -0800 (Tue, 05 Feb 2013)
New Revision: 54934

Modified:
   grass/trunk/lib/vector/diglib/plus.c
Log:
diglib: simplify init/free of support structures

Modified: grass/trunk/lib/vector/diglib/plus.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus.c	2013-02-05 15:21:21 UTC (rev 54933)
+++ grass/trunk/lib/vector/diglib/plus.c	2013-02-05 15:30:43 UTC (rev 54934)
@@ -234,6 +234,7 @@
     dig_free_plus_areas(Plus);
     dig_free_plus_isles(Plus);
 
+    dig_spidx_free(Plus);
     dig_cidx_free(Plus);
 }
 
@@ -258,6 +259,7 @@
      */
 
     /* free and init old */
+    dig_free_plus(Plus);
     dig_init_plus(Plus);
 
     /* Now let's begin reading the Plus file nodes, lines, areas and isles */



More information about the grass-commit mailing list