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

liblas-commits at liblas.org liblas-commits at liblas.org
Wed May 11 15:44:07 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/cd6d971d5209
changeset: 714:cd6d971d5209
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed May 11 12:43:32 2011 -0700
description:
memleak

diffstat:

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

diffs (19 lines):

diff -r 8a555d03a1a4 -r cd6d971d5209 test/unit/QFITReaderTest.cpp
--- a/test/unit/QFITReaderTest.cpp	Wed May 11 12:35:00 2011 -0700
+++ b/test/unit/QFITReaderTest.cpp	Wed May 11 12:43:32 2011 -0700
@@ -112,6 +112,7 @@
         BOOST_CHECK_EQUAL(numRead,3);
     }
 
+    delete iter;
 
     Check_Point(data, schema, 0, 59.205160, 221.826822, 32090.0, 0);
     Check_Point(data, schema, 1, 59.205161, 221.826740, 32019.0, 0);
@@ -145,6 +146,7 @@
         BOOST_CHECK_EQUAL(numRead,3);
     }
 
+    delete iter;
 
     Check_Point(data, schema, 0, 35.623317, 244.306337, 1056830.000000, 903);
     Check_Point(data, schema, 1, 35.623280, 244.306260, 1056409.000000, 903);


More information about the Liblas-commits mailing list