[Liblas-commits] r1279 - trunk/src
liblas-commits at liblas.org
liblas-commits at liblas.org
Mon Jun 8 21:52:13 EDT 2009
Author: hobu
Date: Wed May 20 15:31:58 2009
New Revision: 1279
URL: http://liblas.org/changeset/1279
Log:
one more leak
Modified:
trunk/src/lasindex.cpp
Modified: trunk/src/lasindex.cpp
==============================================================================
--- trunk/src/lasindex.cpp (original)
+++ trunk/src/lasindex.cpp Wed May 20 15:31:58 2009
@@ -562,6 +562,7 @@
std::cout <<"found shape: " << *r << " dimension: " <<pS->getDimension() << std::endl;
// do something.
delete pS;
+ delete r;
// data should be an array of characters representing a Region as a string.
uint8_t* pData = 0;
More information about the Liblas-commits
mailing list