From 981d18464f80ca87c4d1aaf394226c6c3ffda8d8 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 29 Feb 2012 10:44:58 +0100 Subject: [PATCH] ieframe: Fixed reallocation size. --- dlls/ieframe/dochost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;