Fix really stupid heap corruption mistake.

This commit is contained in:
Unknown W. Brackets 2013-09-09 22:33:17 -07:00
parent ccf021cef0
commit ada492febe

View File

@ -770,7 +770,7 @@ private:
int size = cur->end - cur->first;
if (size >= cur->capacity - 2)
{
SceUID *new_data = (SceUID *)realloc(cur->data, cur->capacity * sizeof(SceUID));
SceUID *new_data = (SceUID *)realloc(cur->data, cur->capacity * 2 * sizeof(SceUID));
if (new_data != NULL)
{
cur->capacity *= 2;