mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
ieframe: Fixed reallocation size.
This commit is contained in:
parent
0cae0842b9
commit
981d18464f
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ static void update_travellog(DocHost *This)
|
||||||
}else if(This->travellog_size < This->travellog_position+1) {
|
}else if(This->travellog_size < This->travellog_position+1) {
|
||||||
travellog_entry_t *new_travellog;
|
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)
|
if(!new_travellog)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue