Jacek Caban : msxml3: Fixed memory leak (valgrind).

Alexandre Julliard julliard at winehq.org
Fri Jan 14 12:46:34 CST 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jan 14 14:01:57 2011 +0100

msxml3: Fixed memory leak (valgrind).

---

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

diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
index 23bc227..4dd4de8 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -543,6 +543,7 @@ static ULONG WINAPI httprequest_Release(IXMLHTTPRequest *iface)
             list_remove(&header->entry);
             SysFreeString(header->header);
             SysFreeString(header->value);
+            heap_free(header);
         }
 
         /* detach callback object */




More information about the wine-cvs mailing list