itss: Close chm file when destroying Storage.

oldstable
Jacek Caban 2007-01-13 12:47:27 +01:00 committed by Alexandre Julliard
parent f925e0c0d1
commit 05d2aa4506
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ static ULONG WINAPI ITSS_IStorageImpl_Release(
if (ref == 0)
{
chm_close(This->chmfile);
HeapFree(GetProcessHeap(), 0, This);
ITSS_UnlockModule();
}