From: Jacek Caban Subject: ieframe: Fixed reallocation size Message-Id: <4F4DF39A.4050902@codeweavers.com> Date: Wed, 29 Feb 2012 10:44:58 +0100 --- dlls/ieframe/dochost.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ieframe/dochost.c b/dlls/ieframe/dochost.c index 1b24dd2..9f22514 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;