[GRASS-SVN] r52319 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 6 03:39:51 PDT 2012


Author: wenzeslaus
Date: 2012-07-06 03:39:51 -0700 (Fri, 06 Jul 2012)
New Revision: 52319

Modified:
   grass/trunk/lib/vector/Vlib/cats.c
   grass/trunk/lib/vector/Vlib/line.c
Log:
Vlib: dox: note about freeing

Modified: grass/trunk/lib/vector/Vlib/cats.c
===================================================================
--- grass/trunk/lib/vector/Vlib/cats.c	2012-07-06 05:20:52 UTC (rev 52318)
+++ grass/trunk/lib/vector/Vlib/cats.c	2012-07-06 10:39:51 UTC (rev 52319)
@@ -30,6 +30,8 @@
 
    This structure is used for reading and writing vector cats. The
    library routines handle all memory allocation.
+   
+   To free allocated memory call Vect_destroy_cats_struct().
 
    \return struct line_cats *
    \return NULL on error

Modified: grass/trunk/lib/vector/Vlib/line.c
===================================================================
--- grass/trunk/lib/vector/Vlib/line.c	2012-07-06 05:20:52 UTC (rev 52318)
+++ grass/trunk/lib/vector/Vlib/line.c	2012-07-06 10:39:51 UTC (rev 52319)
@@ -35,6 +35,8 @@
   polygons.  The library routines handle all memory allocation.  If 3
   lines in memory are needed at the same time, then simply 3 line_pnts
   structures have to be used.
+  
+  To free allocated memory call Vect_destroy_line_struct().
 
   Calls G_fatal_error() on error.
 



More information about the grass-commit mailing list