merge the fix of SNOW-793: memory leak in LLImageFormatted::appendData

master
Xiaohong Bao 2010-08-04 16:58:21 -06:00
parent aaa41211c8
commit cd628d8ea8
1 changed files with 1 additions and 0 deletions

View File

@ -1553,6 +1553,7 @@ void LLImageFormatted::appendData(U8 *data, S32 size)
S32 newsize = cursize + size;
reallocateData(newsize);
memcpy(getData() + cursize, data, size);
delete[] data;
}
}
}