hhctrl.ocx: Don't leak the CHM filename.

oldstable
Hans Leidekker 2009-07-01 11:53:19 +02:00 committed by Alexandre Julliard
parent 4d31a25f50
commit abad7f4f76
2 changed files with 2 additions and 1 deletions

View File

@ -423,6 +423,7 @@ CHMInfo *CloseCHM(CHMInfo *chm)
heap_free(chm->defTitle);
heap_free(chm->defTopic);
heap_free(chm->defToc);
heap_free(chm->szFile);
heap_free(chm);
return NULL;

View File

@ -69,7 +69,7 @@ typedef struct CHMInfo
{
IITStorage *pITStorage;
IStorage *pStorage;
LPCWSTR szFile;
WCHAR *szFile;
IStream *strings_stream;
char **strings;