[fdo-commits] r205 - branches/3.2.1/Providers/SHP/Src/Provider

svn_fdo at osgeo.org svn_fdo at osgeo.org
Thu Mar 1 16:41:58 EST 2007


Author: danstoica
Date: 2007-03-01 16:41:58 -0500 (Thu, 01 Mar 2007)
New Revision: 205

Modified:
   branches/3.2.1/Providers/SHP/Src/Provider/ShpScrollableFeatureReader.cpp
Log:
Fix trivial defect in ShpScrollableFeatureReader destructor causing a crash for more than one ordered properties.

Modified: branches/3.2.1/Providers/SHP/Src/Provider/ShpScrollableFeatureReader.cpp
===================================================================
--- branches/3.2.1/Providers/SHP/Src/Provider/ShpScrollableFeatureReader.cpp	2007-02-27 21:32:25 UTC (rev 204)
+++ branches/3.2.1/Providers/SHP/Src/Provider/ShpScrollableFeatureReader.cpp	2007-03-01 21:41:58 UTC (rev 205)
@@ -79,7 +79,7 @@
 	if ( m_PropStubs )
 	{
 		for ( int i = 0; i < m_NumProps; i++ )
-			delete [] m_PropStubs->m_name;
+			delete [] m_PropStubs[i].m_name;
 
 		delete[] m_PropStubs;
 	}



More information about the fdo-commits mailing list