[mapserver-commits] r9924 - branches/branch-5-6/mapserver

svn at osgeo.org svn at osgeo.org
Sat Mar 6 17:35:19 EST 2010


Author: tamas
Date: 2010-03-06 17:35:16 -0500 (Sat, 06 Mar 2010)
New Revision: 9924

Modified:
   branches/branch-5-6/mapserver/HISTORY.TXT
   branches/branch-5-6/mapserver/mapmssql2008.c
Log:
Fixed msMSSQL2008CloseConnection() to free the statement handle properly (#3244)

Modified: branches/branch-5-6/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-6/mapserver/HISTORY.TXT	2010-03-06 19:40:18 UTC (rev 9923)
+++ branches/branch-5-6/mapserver/HISTORY.TXT	2010-03-06 22:35:16 UTC (rev 9924)
@@ -15,6 +15,8 @@
 Current Version (SVN branch-5-6):
 --------------------------------
 
+- Fixed msMSSQL2008CloseConnection() to free the statement handle properly (#3244)
+
 - Fixed the query handling with the MSSQL2008 driver (#3058)
 
 - Fixed swig zoomRectangle() method: the maxy in the rect object have to be < miny value (#3286)

Modified: branches/branch-5-6/mapserver/mapmssql2008.c
===================================================================
--- branches/branch-5-6/mapserver/mapmssql2008.c	2010-03-06 19:40:18 UTC (rev 9923)
+++ branches/branch-5-6/mapserver/mapmssql2008.c	2010-03-06 22:35:16 UTC (rev 9924)
@@ -200,7 +200,7 @@
 
 	if (conn->hstmt)
 	{
-		SQLFreeHandle(SQL_HANDLE_DBC, conn->hstmt);
+		SQLFreeHandle(SQL_HANDLE_STMT, conn->hstmt);
 	}
 	if (conn->hdbc)
 	{



More information about the mapserver-commits mailing list