[PATCH v2] ieframe: Initialize new history log entry.

Dmitry Timoshkov dmitry at baikal.ru
Tue Apr 26 12:40:20 CDT 2022


In addition to 41cfc86d8dd65c71a7c81b826d02ac0a99050d6a.

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

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/ieframe/dochost.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ieframe/dochost.c b/dlls/ieframe/dochost.c
index 7717f786d52..e73659f1736 100644
--- a/dlls/ieframe/dochost.c
+++ b/dlls/ieframe/dochost.c
@@ -469,6 +469,8 @@ static void update_travellog(DocHost *This)
 
     if(This->travellog.loading_pos == -1) {
         This->travellog.position++;
+        This->travellog.log[This->travellog.position].stream = NULL;
+        This->travellog.log[This->travellog.position].url = NULL;
     }else {
          This->travellog.position = This->travellog.loading_pos;
          This->travellog.loading_pos = -1;
-- 
2.35.3




More information about the wine-devel mailing list