[QGIS Commit] r9971 - trunk/qgis/src/core/raster

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Jan 14 16:33:39 EST 2009


Author: jef
Date: 2009-01-14 16:33:39 -0500 (Wed, 14 Jan 2009)
New Revision: 9971

Modified:
   trunk/qgis/src/core/raster/qgsrasterlayer.cpp
Log:
use CPLFree on CPLMalloc'ed memory

Modified: trunk/qgis/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.cpp	2009-01-14 10:57:00 UTC (rev 9970)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.cpp	2009-01-14 21:33:39 UTC (rev 9971)
@@ -1835,7 +1835,7 @@
       }
       theResults[tr( "Band%1" ).arg( i )] = v;
 
-      free( data );
+      CPLFree( data );
     }
   }
 



More information about the QGIS-commit mailing list