[fdo-commits] r2573 - trunk/Providers/GDAL/Src/UnitTest
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Wed Feb 21 01:51:02 EST 2007
Author: warmerdam
Date: 2007-02-21 01:51:02 -0500 (Wed, 21 Feb 2007)
New Revision: 2573
Modified:
trunk/Providers/GDAL/Src/UnitTest/RfpTestGetRaster.cpp
Log:
fixed to use delete[] to match array new
Modified: trunk/Providers/GDAL/Src/UnitTest/RfpTestGetRaster.cpp
===================================================================
--- trunk/Providers/GDAL/Src/UnitTest/RfpTestGetRaster.cpp 2007-02-21 06:07:37 UTC (rev 2572)
+++ trunk/Providers/GDAL/Src/UnitTest/RfpTestGetRaster.cpp 2007-02-21 06:51:02 UTC (rev 2573)
@@ -231,7 +231,7 @@
}
CPPUNIT_ASSERT(nRasterCount == 4 * 4);
- delete buff;
+ delete[] buff;
}
#define orgX 200000.0
More information about the fdo-commits
mailing list