Module: wine Branch: master Commit: 764011a94f884af336bc8a27dc0b94b461efc288 URL: http://source.winehq.org/git/wine.git/?a=commit;h=764011a94f884af336bc8a27dc...
Author: André Hentschel nerv@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++;