r2092@chromobil: stefan | 2008-02-26 17:08:48 +0100

Fix #1347: memory leak on windows


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2087 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Stefan Bühler 2008-02-26 16:20:58 +00:00
parent a25cbfa36b
commit 03f515165f
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ int stream_open(stream *f, buffer *fn) {
NULL);
if (!mh) {
/*
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
@ -73,7 +74,7 @@ int stream_open(stream *f, buffer *fn) {
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &lpMsgBuf,
0, NULL );
*/
return -1;
}