[Liblas-commits] hg-main-tree: memleak

liblas-commits at liblas.org liblas-commits at liblas.org
Wed May 11 16:13:17 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/46554fb156ae
changeset: 716:46554fb156ae
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed May 11 13:12:42 2011 -0700
description:
memleak

diffstat:

 test/unit/TerraSolidTest.cpp |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 69ce86cad956 -r 46554fb156ae test/unit/TerraSolidTest.cpp
--- a/test/unit/TerraSolidTest.cpp	Wed May 11 13:06:59 2011 -0700
+++ b/test/unit/TerraSolidTest.cpp	Wed May 11 13:12:42 2011 -0700
@@ -114,7 +114,8 @@
         BOOST_CHECK_EQUAL(numRead,3);
     }
 
-    
+    delete iter;
+
     Check_Point(data, schema, 0, 363127.94, 3437612.33, 55.26, 580220.5528);
     Check_Point(data, schema, 1, 363128.12, 3437613.01, 55.33, 580220.5530);
     Check_Point(data, schema, 2, 363128.29, 3437613.66, 55.28, 580220.5530);


More information about the Liblas-commits mailing list