[Liblas-commits] hg: clean up CreateVLR data
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Jan 12 15:59:36 EST 2011
details: http://hg.liblas.orghg/rev/6780db838ed3
changeset: 2741:6780db838ed3
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Jan 12 14:59:30 2011 -0600
description:
clean up CreateVLR data
diffstat:
src/detail/zippoint.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r c69c66976907 -r 6780db838ed3 src/detail/zippoint.cpp
--- a/src/detail/zippoint.cpp Wed Jan 12 14:32:23 2011 -0600
+++ b/src/detail/zippoint.cpp Wed Jan 12 14:59:30 2011 -0600
@@ -237,6 +237,9 @@
}
v.SetData(vdata);
+
+ if (data != 0)
+ delete [] data;
return;
}
More information about the Liblas-commits
mailing list