[GRASS-SVN] r66592 - grass/trunk/raster/r.in.lidar
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 24 19:29:41 PDT 2015
Author: wenzeslaus
Date: 2015-10-24 19:29:41 -0700 (Sat, 24 Oct 2015)
New Revision: 66592
Modified:
grass/trunk/raster/r.in.lidar/main.c
Log:
r.in.lidar: free base raster after main (pass) loop (fixes r66094 and r66151)
Modified: grass/trunk/raster/r.in.lidar/main.c
===================================================================
--- grass/trunk/raster/r.in.lidar/main.c 2015-10-24 22:22:12 UTC (rev 66591)
+++ grass/trunk/raster/r.in.lidar/main.c 2015-10-25 02:29:41 UTC (rev 66592)
@@ -1,4 +1,4 @@
-/****************************************************************************
+ /****************************************************************************
*
* MODULE: r.in.Lidar
*
@@ -1337,11 +1337,11 @@
max_nodes = 0;
nodes = NULL;
}
- if (base_array)
- Rast_close(base_raster);
- if (use_segment)
- Segment_close(&base_segment);
} /* passes loop */
+ if (base_array)
+ Rast_close(base_raster);
+ if (use_segment)
+ Segment_close(&base_segment);
G_percent(1, 1, 1); /* flush */
G_free(raster_row);
More information about the grass-commit
mailing list