Merge pull request #2468 from dupondje/master
fix size error introduced in commit 99b14815a53e556080f459a4998d94244803...
This commit is contained in:
commit
7ad5039ce7
@ -2624,7 +2624,7 @@ BOOL update_read_create_offscreen_bitmap_order(wStream* s, CREATE_OFFSCREEN_BITM
|
||||
{
|
||||
UINT16 *new_indices;
|
||||
|
||||
new_indices = (UINT16 *)realloc(deleteList->indices, deleteList->cIndices);
|
||||
new_indices = (UINT16 *)realloc(deleteList->indices, deleteList->sIndices * 2);
|
||||
if (!new_indices)
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user