cvs: php-src /win32 winutil.c

From: Date: Thu, 18 Dec 2003 11:05:22 +0000
Subject: cvs: php-src /win32 winutil.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25277@lists.php.net to get a copy of this message
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

« previous php.cvs (#25277) next »