Changeset 1584:ae0d34b36d6f


Ignore:
Timestamp:
02/20/10 11:18:34 (5 months ago)
Author:
Howard Butler <hobu.inc@…>
Branch:
default
Message:

apply Even's patch for #167

Location:
apps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/lascommon.c

    r1486 r1584  
    569569    LASString_Free(pszProj4); 
    570570    LASString_Free(pszWKT); 
     571    LASSRS_Destroy(pSRS); 
    571572} 
    572573 
  • apps/lasinfo.c

    r1186 r1584  
    2323#include <stdlib.h> 
    2424#include <string.h> 
     25 
     26#ifdef HAVE_GDAL 
     27#include <cpl_multiproc.h> 
     28#include <cpl_string.h> 
     29#endif 
    2530 
    2631LASPointSummary* SummarizePoints(LASReaderH reader); 
     
    390395    if (header) LASHeader_Destroy(header); 
    391396 
     397#ifdef HAVE_GDAL 
     398    /* Various GDAL related cleanups */ 
     399    OSRCleanup(); 
     400    CPLFinderClean(); 
     401    CPLFreeConfig(); 
     402    CPLCleanupTLS(); 
     403#endif 
     404 
    392405    return 0; 
    393406} 
Note: See TracChangeset for help on using the changeset viewer.