ieframe: Initialize new history log entry.

In addition to 41cfc86d8d.

This fixes another crash when browsing help file that I have here.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2022-04-26 20:40:20 +03:00 committed by Alexandre Julliard
parent e015409e74
commit 732f281570
1 changed files with 2 additions and 0 deletions

View File

@ -469,6 +469,8 @@ static void update_travellog(DocHost *This)
if(This->travellog.loading_pos == -1) { if(This->travellog.loading_pos == -1) {
This->travellog.position++; This->travellog.position++;
This->travellog.log[This->travellog.position].stream = NULL;
This->travellog.log[This->travellog.position].url = NULL;
}else { }else {
This->travellog.position = This->travellog.loading_pos; This->travellog.position = This->travellog.loading_pos;
This->travellog.loading_pos = -1; This->travellog.loading_pos = -1;