Jacek Caban : ieframe: Fixed reallocation size.
Alexandre Julliard
julliard at winehq.org
Wed Feb 29 14:07:39 CST 2012
Module: wine
Branch: master
Commit: 981d18464f80ca87c4d1aaf394226c6c3ffda8d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=981d18464f80ca87c4d1aaf394226c6c3ffda8d8
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Feb 29 10:44:58 2012 +0100
ieframe: Fixed reallocation size.
---
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;
More information about the wine-cvs
mailing list