diff --git a/dlls/ieframe/dochost.c b/dlls/ieframe/dochost.c index 1b24dd2c7fe..9f2251489e2 100644 --- a/dlls/ieframe/dochost.c +++ b/dlls/ieframe/dochost.c @@ -340,7 +340,7 @@ static void update_travellog(DocHost *This) }else if(This->travellog_size < This->travellog_position+1) { travellog_entry_t *new_travellog; - new_travellog = heap_realloc(This->travellog, This->travellog_size*2); + new_travellog = heap_realloc(This->travellog, This->travellog_size*2*sizeof(*This->travellog)); if(!new_travellog) return;