Rob Shearman : hlink: Fix memory leak by freeing extension services This-> headers in the release function.

Alexandre Julliard julliard at winehq.org
Wed Dec 26 10:05:07 CST 2007


Module: wine
Branch: master
Commit: 1f56359261876f0ceabb44d76c7fdc54e0e6a94a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1f56359261876f0ceabb44d76c7fdc54e0e6a94a

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Dec 26 11:02:48 2007 +0000

hlink: Fix memory leak by freeing extension services This->headers in the release function.

---

 dlls/hlink/extserv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/hlink/extserv.c b/dlls/hlink/extserv.c
index d58d1dd..c7a1b77 100644
--- a/dlls/hlink/extserv.c
+++ b/dlls/hlink/extserv.c
@@ -91,6 +91,7 @@ static ULONG WINAPI ExtServUnk_Release(IUnknown *iface)
     if(!ref) {
         heap_free(This->username);
         heap_free(This->password);
+        heap_free(This->headers);
         heap_free(This);
     }
 




More information about the wine-cvs mailing list