List:Commits« Previous MessageNext Message »
From:bdegtyariov Date:June 14 2007 6:17pm
Subject:Connector/ODBC 3.51 commit: r499 - trunk/util
View as plain text  
Modified:
   trunk/util/MYODBCUtilReadDriver.c
Log:
Fixed another problem related to local/global memory allocation. The problem can be seen
only in VS2005 debugger.

Modified: trunk/util/MYODBCUtilReadDriver.c
===================================================================
--- trunk/util/MYODBCUtilReadDriver.c	2007-06-14 05:34:05 UTC (rev 498)
+++ trunk/util/MYODBCUtilReadDriver.c	2007-06-14 16:17:51 UTC (rev 499)
@@ -123,7 +123,7 @@
      *
      */
     if ( !pDriver->pszName )
-        pDriver->pszName = strdup( pszSectionName );
+        pDriver->pszName = _global_strdup( pszSectionName );
 
     return TRUE;
 }

Thread
Connector/ODBC 3.51 commit: r499 - trunk/utilbdegtyariov14 Jun