Changeset 12462

Show
Ignore:
Timestamp:
10/17/07 15:06:41 (9 months ago)
Author:
warmerdam
Message:

fix serious memory leak in ECWDataset::IRasterIO() (#1922)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/frmts/ecw/ecwdataset.cpp

    r12396 r12462  
    925925        if( eRStatus != NCSECW_READ_OK ) 
    926926        { 
     927            CPLFree( papabyBIL ); 
    927928            CPLFree( pabyBILScanline ); 
    928929            CPLError( CE_Failure, CPLE_AppDefined, 
     
    941942        } 
    942943    } 
     944 
     945    CPLFree( pabyBILScanline ); 
     946    CPLFree( papabyBIL ); 
    943947 
    944948    return CE_None;