[GRASS-SVN] r71324 - grass/branches/releasebranch_7_2/lib/lidar
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 4 03:03:58 PDT 2017
Author: martinl
Date: 2017-08-04 03:03:58 -0700 (Fri, 04 Aug 2017)
New Revision: 71324
Modified:
grass/branches/releasebranch_7_2/lib/lidar/zones.c
Log:
lidarlib: free structs
(merge r71191 from trunk)
Modified: grass/branches/releasebranch_7_2/lib/lidar/zones.c
===================================================================
--- grass/branches/releasebranch_7_2/lib/lidar/zones.c 2017-08-04 10:02:06 UTC (rev 71323)
+++ grass/branches/releasebranch_7_2/lib/lidar/zones.c 2017-08-04 10:03:58 UTC (rev 71324)
@@ -294,6 +294,9 @@
}
}
}
+ Vect_destroy_cats_struct(categories);
+ Vect_destroy_line_struct(points);
+
if (npoints > 0) {
/* estimated average distance between points in map units */
*dist = sqrt(((xmax - xmin) * (ymax - ymin)) / npoints);
More information about the grass-commit
mailing list