shdocvw: Avoid a double free in PersistFile_Load.
Spotted with Valgrind.
This commit is contained in:
parent
2f302cfe0b
commit
1c51015068
|
@ -526,7 +526,7 @@ static HRESULT WINAPI PersistFile_Load(IPersistFile *pFile, LPCOLESTR pszFileNam
|
||||||
TRACE("Failed to store the iconindex to our property storage. hr = 0x%x\n", hr);
|
TRACE("Failed to store the iconindex to our property storage. hr = 0x%x\n", hr);
|
||||||
}
|
}
|
||||||
|
|
||||||
CoTaskMemFree(iconfile);
|
CoTaskMemFree(iconindexstring);
|
||||||
}
|
}
|
||||||
|
|
||||||
IPropertyStorage_Release(pPropStg);
|
IPropertyStorage_Release(pPropStg);
|
||||||
|
|
Loading…
Reference in New Issue