hhctrl.ocx: Fix HTML Help crashing on non-chm files.

This commit is contained in:
Erich Hoover 2011-12-22 12:12:06 -07:00 committed by Alexandre Julliard
parent 91e0f56c05
commit 4ce176af61
1 changed files with 1 additions and 0 deletions

View File

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