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…
Reference in New Issue