helly           Thu Dec 18 06:05:22 2003 EDT

  Modified files:              
    /php-src/win32      winutil.c 
  Log:
  Leak for b3 and find a better solution until RC1
  
Index: php-src/win32/winutil.c
diff -u php-src/win32/winutil.c:1.11 php-src/win32/winutil.c:1.12
--- php-src/win32/winutil.c:1.11        Wed Dec 17 06:20:35 2003
+++ php-src/win32/winutil.c     Thu Dec 18 06:05:20 2003
@@ -22,10 +22,13 @@
 {
        static char *buf = NULL;
 
+#if MBO_0
+       /* leak for now */
        if (buf) {
                free(buf);
                buf = NULL;
        }
+#endif
        FormatMessage(
                FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |   
FORMAT_MESSAGE_IGNORE_INSERTS,
                NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&buf, 
0, NULL

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to