Merge pull request #2468 from dupondje/master

fix size error introduced in commit 99b14815a53e556080f459a4998d94244803...
This commit is contained in:
Bernhard Miklautz 2015-03-15 12:30:49 +01:00
commit 7ad5039ce7

View File

@ -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;