зеркало из https://github.com/mozilla/pjs.git
Bug 604495 - Memory corruption in the GIF decoder destruction; r=joe a=blocking-final+
--HG-- extra : rebase_source : cc0de4cde5c66dd69b446c0e0368a9d0560f40ca
This commit is contained in:
Родитель
27e938a1c6
Коммит
0dbc7948ef
|
@ -128,7 +128,9 @@ nsGIFDecoder2::nsGIFDecoder2()
|
|||
|
||||
nsGIFDecoder2::~nsGIFDecoder2()
|
||||
{
|
||||
PR_FREEIF(mGIFStruct.local_colormap);
|
||||
if (mGIFStruct.local_colormap) {
|
||||
moz_free(mGIFStruct.local_colormap);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче