Skip to content
Permalink
Browse files

use CPLFree on CPLMalloc'ed memory

git-svn-id: http://svn.osgeo.org/qgis/trunk@9971 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jan 14, 2009
1 parent 862d036 commit e35d41cd7ba61c728aea57f769313d4f7eb703b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -1835,7 +1835,7 @@ bool QgsRasterLayer::identify( const QgsPoint& thePoint, QMap<QString, QString>&
}
theResults[tr( "Band%1" ).arg( i )] = v;

free( data );
CPLFree( data );
}
}

0 comments on commit e35d41c

Please sign in to comment.
You can’t perform that action at this time.