Commit 1c510150 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

shdocvw: Avoid a double free in PersistFile_Load.

Spotted with Valgrind.
parent 2f302cfe
......@@ -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);
}
CoTaskMemFree(iconfile);
CoTaskMemFree(iconindexstring);
}
IPropertyStorage_Release(pPropStg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment