[GRASS-SVN] r38016 - grass/branches/develbranch_6/vector/lidar/lidarlib

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 22 01:59:36 EDT 2009


Author: hamish
Date: 2009-06-22 01:59:36 -0400 (Mon, 22 Jun 2009)
New Revision: 38016

Modified:
   grass/branches/develbranch_6/vector/lidar/lidarlib/TcholBand.c
Log:
orphaned alloc (thanks Jyothish)

Modified: grass/branches/develbranch_6/vector/lidar/lidarlib/TcholBand.c
===================================================================
--- grass/branches/develbranch_6/vector/lidar/lidarlib/TcholBand.c	2009-06-22 05:09:28 UTC (rev 38015)
+++ grass/branches/develbranch_6/vector/lidar/lidarlib/TcholBand.c	2009-06-22 05:59:36 UTC (rev 38016)
@@ -129,8 +129,8 @@
     double somma;
 
 	/*--------------------------------------*/
-    G_alloc_matrix(n, BW);
-    G_alloc_vector(n);
+    T = G_alloc_matrix(n, BW);
+    vect = G_alloc_vector(n);
 
     /* T computation                */
     tcholDec(N, T, n, BW);
@@ -177,8 +177,8 @@
     double somma;
 
 	/*--------------------------------------*/
-    G_alloc_matrix(n, BW);
-    G_alloc_vector(n);
+    T = G_alloc_matrix(n, BW);
+    vect = G_alloc_vector(n);
 
     /* T computation                */
     tcholDec(N, T, n, BW);



More information about the grass-commit mailing list