Hans Leidekker : wininet: Fix a memory leak.
Alexandre Julliard
julliard at winehq.org
Mon Jul 21 08:51:27 CDT 2008
Module: wine
Branch: master
Commit: e3e2622e419b625741b4b638d680d89023885ca5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3e2622e419b625741b4b638d680d89023885ca5
Author: Hans Leidekker <hans at meelstraat.net>
Date: Sat Jul 19 19:52:47 2008 +0200
wininet: Fix a memory leak.
---
dlls/wininet/http.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index b31996d..4f73602 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -3833,7 +3833,10 @@ lend:
if (bSuccess)
return rc;
else
+ {
+ HeapFree(GetProcessHeap(), 0, lpszRawHeaders);
return 0;
+ }
}
More information about the wine-cvs
mailing list