ole32: Fix a memory leak in an error path in COMPOBJ_DllList_Add.
This commit is contained in:
parent
efcd0bbffa
commit
d974922698
|
@ -934,6 +934,7 @@ static HRESULT COMPOBJ_DllList_Add(LPCWSTR library_name, OpenDll **ret)
|
|||
}
|
||||
else
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, entry);
|
||||
hr = E_OUTOFMEMORY;
|
||||
FreeLibrary(hLibrary);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue