[GRASS-SVN] r54927 - grass/trunk/lib/vector/diglib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 5 06:03:15 PST 2013
Author: mmetz
Date: 2013-02-05 06:03:14 -0800 (Tue, 05 Feb 2013)
New Revision: 54927
Modified:
grass/trunk/lib/vector/diglib/cindex.c
Log:
diglib: really free cidx
Modified: grass/trunk/lib/vector/diglib/cindex.c
===================================================================
--- grass/trunk/lib/vector/diglib/cindex.c 2013-02-05 13:44:55 UTC (rev 54926)
+++ grass/trunk/lib/vector/diglib/cindex.c 2013-02-05 14:03:14 UTC (rev 54927)
@@ -53,6 +53,11 @@
ci->cat = NULL;
ci->field = ci->n_cats = ci->a_cats = ci->n_types = 0;
}
+ if (Plus->cidx) {
+ G_free(Plus->cidx);
+ Plus->cidx = NULL;
+ }
+ Plus->a_cidx = 0;
Plus->n_cidx = 0;
Plus->cidx_up_to_date = 0;
}
More information about the grass-commit
mailing list