mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 05:08:16 +00:00
ole32: Release the error info strings.
Found by Valgrind.
This commit is contained in:
parent
41af26b2e7
commit
09db528847
@ -237,6 +237,10 @@ static ULONG WINAPI IErrorInfoImpl_Release(
|
||||
if (!ref)
|
||||
{
|
||||
TRACE("-- destroying IErrorInfo(%p)\n",This);
|
||||
|
||||
ERRORINFO_SysFreeString(This->bstrSource);
|
||||
ERRORINFO_SysFreeString(This->bstrDescription);
|
||||
ERRORINFO_SysFreeString(This->bstrHelpFile);
|
||||
HeapFree(GetProcessHeap(),0,This);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user