Commit 764011a9 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

msxml3: Avoid memory leak (coverity).

parent 99a0c55a
...@@ -689,6 +689,7 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback * ...@@ -689,6 +689,7 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback *
if ((hr = SafeArrayGetUBound(sa, 1, &size) != S_OK)) if ((hr = SafeArrayGetUBound(sa, 1, &size) != S_OK))
{ {
SafeArrayUnaccessData(sa); SafeArrayUnaccessData(sa);
heap_free(bsc);
return hr; return hr;
} }
size++; size++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment