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

liblas-commits at liblas.org liblas-commits at liblas.org
Wed May 11 16:07:34 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/69ce86cad956
changeset: 715:69ce86cad956
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed May 11 13:06:59 2011 -0700
description:
memleak

diffstat:

 src/drivers/las/Writer.cpp |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r cd6d971d5209 -r 69ce86cad956 src/drivers/las/Writer.cpp
--- a/src/drivers/las/Writer.cpp	Wed May 11 12:43:32 2011 -0700
+++ b/src/drivers/las/Writer.cpp	Wed May 11 13:06:59 2011 -0700
@@ -233,6 +233,7 @@
             }
 
             PointFormat format = m_lasHeader.getPointFormat();
+            delete m_zipPoint;
             m_zipPoint = new ZipPoint(format, m_lasHeader.getVLRs().getAll());
 
             unsigned int stat = 1;


More information about the Liblas-commits mailing list