shdocvw: Avoid a double free in PersistFile_Load.

Spotted with Valgrind.
This commit is contained in:
Andrew Nguyen 2010-12-07 03:12:29 -06:00 committed by Alexandre Julliard
parent 2f302cfe0b
commit 1c51015068
1 changed files with 1 additions and 1 deletions

View File

@ -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);