hhctrl.ocx: Fix HTML Help crashing on non-chm files.
This commit is contained in:
parent
91e0f56c05
commit
4ce176af61
|
@ -277,6 +277,7 @@ void ReleaseIndex(HHInfo *info)
|
|||
IndexItem *item = info->index, *next;
|
||||
int i;
|
||||
|
||||
if(!item) return;
|
||||
/* Note: item->merge is identical for all items, only free once */
|
||||
heap_free(item->merge.chm_file);
|
||||
heap_free(item->merge.chm_index);
|
||||
|
|
Loading…
Reference in New Issue