hhctrl.ocx: Don't leak the CHM filename.
This commit is contained in:
parent
4d31a25f50
commit
abad7f4f76
|
@ -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;
|
||||
|
|
|
@ -69,7 +69,7 @@ typedef struct CHMInfo
|
|||
{
|
||||
IITStorage *pITStorage;
|
||||
IStorage *pStorage;
|
||||
LPCWSTR szFile;
|
||||
WCHAR *szFile;
|
||||
|
||||
IStream *strings_stream;
|
||||
char **strings;
|
||||
|
|
Loading…
Reference in New Issue