[GRASS-SVN] r32321 - in grass/trunk: include lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 26 17:00:46 EDT 2008


Author: martinl
Date: 2008-07-26 17:00:45 -0400 (Sat, 26 Jul 2008)
New Revision: 32321

Modified:
   grass/trunk/include/ogsf_proto.h
   grass/trunk/lib/ogsf/Gv3.c
   grass/trunk/lib/ogsf/gv.c
Log:
ogsflib: fix r32316

Modified: grass/trunk/include/ogsf_proto.h
===================================================================
--- grass/trunk/include/ogsf_proto.h	2008-07-26 20:28:36 UTC (rev 32320)
+++ grass/trunk/include/ogsf_proto.h	2008-07-26 21:00:45 UTC (rev 32321)
@@ -328,6 +328,7 @@
 
 /* From Gv3.c */
 geoline *Gv_load_vect(const char *, int *);
+void sub_Vectmem(int);
 
 /* From gk.c */
 Keylist *gk_copy_key(Keylist *);

Modified: grass/trunk/lib/ogsf/Gv3.c
===================================================================
--- grass/trunk/lib/ogsf/Gv3.c	2008-07-26 20:28:36 UTC (rev 32320)
+++ grass/trunk/lib/ogsf/Gv3.c	2008-07-26 21:00:45 UTC (rev 32321)
@@ -257,3 +257,19 @@
     
     return(top);
 }
+
+/*! 
+  \brief Tracking memory 
+  
+  \param minus mimus number 
+*/
+void sub_Vectmem(int minus) 
+{ 
+#ifdef TRAK_MEM 
+    { 
+	Tot_mem-=minus; 
+    } 
+#endif 
+    
+    return; 
+} 

Modified: grass/trunk/lib/ogsf/gv.c
===================================================================
--- grass/trunk/lib/ogsf/gv.c	2008-07-26 20:28:36 UTC (rev 32320)
+++ grass/trunk/lib/ogsf/gv.c	2008-07-26 21:00:45 UTC (rev 32321)
@@ -326,8 +326,6 @@
 	fv->lines = NULL;
     }
 
-    show_Vectmem();
-
     return;
 }
 



More information about the grass-commit mailing list