[QGIS Commit] r9972 - branches/Version-1_0/src/core/raster

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Jan 14 16:34:00 EST 2009


Author: jef
Date: 2009-01-14 16:34:00 -0500 (Wed, 14 Jan 2009)
New Revision: 9972

Modified:
   branches/Version-1_0/src/core/raster/qgsrasterlayer.cpp
Log:
use CPLFree on CPLMalloc'ed memory

Modified: branches/Version-1_0/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- branches/Version-1_0/src/core/raster/qgsrasterlayer.cpp	2009-01-14 21:33:39 UTC (rev 9971)
+++ branches/Version-1_0/src/core/raster/qgsrasterlayer.cpp	2009-01-14 21:34:00 UTC (rev 9972)
@@ -1835,7 +1835,7 @@
       }
       theResults[tr( "Band" ) + QString::number( i )] = v;
 
-      free( data );
+      CPLFree( data );
     }
   }
 



More information about the QGIS-commit mailing list