Pierre Schweitzer : wininet: Fix handle leak.
Alexandre Julliard
julliard at winehq.org
Tue Jan 3 12:52:54 CST 2012
Module: wine
Branch: master
Commit: 85e2b4d7df04387908eeb027731e0492e68fa506
URL: http://source.winehq.org/git/wine.git/?a=commit;h=85e2b4d7df04387908eeb027731e0492e68fa506
Author: Pierre Schweitzer <pierre at reactos.org>
Date: Fri Dec 30 21:55:42 2011 +0100
wininet: Fix handle leak.
---
dlls/wininet/http.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 631a184..8fc01fe 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -1883,6 +1883,8 @@ static void http_release_netconn(http_request_t *req, BOOL reuse)
if(module)
FreeLibrary(module);
}
+ else
+ CloseHandle(thread);
}
return;
}
More information about the wine-cvs
mailing list