=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: msxml3: Avoid memory leak (coverity) .

Alexandre Julliard julliard at winehq.org
Mon Oct 29 13:52:50 CDT 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sun Oct 28 16:16:41 2012 +0100

msxml3: Avoid memory leak (coverity).

---

 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 5700311..9a9d93e 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -689,6 +689,7 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback *
             if ((hr = SafeArrayGetUBound(sa, 1, &size) != S_OK))
             {
                 SafeArrayUnaccessData(sa);
+                heap_free(bsc);
                 return hr;
             }
             size++;




More information about the wine-cvs mailing list