[fdo-commits] r2580 - trunk/Providers/GDAL/Src/Provider
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Wed Feb 21 23:24:01 EST 2007
Author: warmerdam
Date: 2007-02-21 23:24:01 -0500 (Wed, 21 Feb 2007)
New Revision: 2580
Modified:
trunk/Providers/GDAL/Src/Provider/FdoRfpRasterPropertyDictionary.cpp
Log:
fix FdoRfpImage leak in GetProperty() (ticket #16)
Modified: trunk/Providers/GDAL/Src/Provider/FdoRfpRasterPropertyDictionary.cpp
===================================================================
--- trunk/Providers/GDAL/Src/Provider/FdoRfpRasterPropertyDictionary.cpp 2007-02-21 23:43:50 UTC (rev 2579)
+++ trunk/Providers/GDAL/Src/Provider/FdoRfpRasterPropertyDictionary.cpp 2007-02-22 04:24:01 UTC (rev 2580)
@@ -96,7 +96,7 @@
throw FdoException::Create(FdoException::NLSGetMessage(FDO_2_BADPARAMETER, "Bad parameter to method."));
FdoDataValue* rv;
- FdoRfpImage *image = m_raster->GetImage();
+ FdoPtr<FdoRfpImage> image = m_raster->GetImage();
GDALColorTableH hCT = GDALGetRasterColorTable( GDALGetRasterBand( image->GetDS(), image->m_bandList[0] ) );
int numOfEntries = 0;
More information about the fdo-commits
mailing list