[Liblas-commits] hg: oops

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Oct 7 15:32:37 EDT 2009


changeset 70905879ae81 in /home/www/liblas.org/hg
details: http://hg.liblas.org/main/hg?cmd=changeset;node=70905879ae81
summary: oops

diffstat:

 apps/las2las.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 08788e7f9245 -r 70905879ae81 apps/las2las.c
--- a/apps/las2las.c	Wed Oct 07 14:28:21 2009 -0500
+++ b/apps/las2las.c	Wed Oct 07 14:30:01 2009 -0500
@@ -927,8 +927,7 @@
         LASError_Print("Could not read header");
         exit(1);
     }
-    
-    LASReader_Destroy(reader);
+
     
     summary = SummarizePoints(reader);
     if (verbose) {
@@ -942,7 +941,7 @@
         free(summary);
     }
 
-    if (reader) {
+    if (reader != NULL) {
         LASReader_Destroy(reader);
         reader = NULL;
     }


More information about the Liblas-commits mailing list