msxml3: Avoid memory leak (coverity).

oldstable
André Hentschel 2012-10-28 16:16:41 +01:00 committed by Alexandre Julliard
parent 99a0c55a8f
commit 764011a94f
1 changed files with 1 additions and 0 deletions

View File

@ -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++;