diff options
| -rw-r--r-- | win32/winutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/winutil.c b/win32/winutil.c index 220fea294c..6fccb041d7 100644 --- a/win32/winutil.c +++ b/win32/winutil.c @@ -22,10 +22,13 @@ PHPAPI char *php_win_err(int error) { 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 |
