[fdo-commits] r2572 - trunk/Providers/GDAL/Src/UnitTest

svn_fdo at osgeo.org svn_fdo at osgeo.org
Wed Feb 21 01:07:38 EST 2007


Author: warmerdam
Date: 2007-02-21 01:07:37 -0500 (Wed, 21 Feb 2007)
New Revision: 2572

Modified:
   trunk/Providers/GDAL/Src/UnitTest/RfpRasterConversion.cpp
Log:
Set m_connection to NULL in _tearDown() to ensure that connections are fully
cleaned up promptly.


Modified: trunk/Providers/GDAL/Src/UnitTest/RfpRasterConversion.cpp
===================================================================
--- trunk/Providers/GDAL/Src/UnitTest/RfpRasterConversion.cpp	2007-02-21 03:24:06 UTC (rev 2571)
+++ trunk/Providers/GDAL/Src/UnitTest/RfpRasterConversion.cpp	2007-02-21 06:07:37 UTC (rev 2572)
@@ -47,14 +47,13 @@
 	m_raster = reader->GetRaster(L"Image");
 
 	reader->Close();
-
-
 }
 
 void RfpTestRasterConversion::_tearDown()
 {
 	m_raster = NULL;
 	m_connection->Close();	
+        m_connection = NULL;
 }
 
 void RfpTestRasterConversion::testRgbToBitonal()



More information about the fdo-commits mailing list