Skip to content

Commit

Permalink
use CPLFree on CPLMalloc'ed memory
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@9972 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 14, 2009
1 parent 3884a17 commit 04dd758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ bool QgsRasterLayer::identify( const QgsPoint& thePoint, QMap<QString, QString>&
}
theResults[tr( "Band" ) + QString::number( i )] = v;

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

Expand Down

0 comments on commit 04dd758

Please sign in to comment.