Fixed a memory leak in the new unified decodeGfxUnified decoder method

svn-id: r40585
This commit is contained in:
Paul Gilbert 2009-05-15 02:18:51 +00:00
parent fe795a739e
commit fc87b82861

View File

@ -131,6 +131,7 @@ void decodeGfxUnified(dataFileEntry *pCurrentFileEntry, int16 format) {
}
}
free(pCurrentFileEntry->subData.ptr);
pCurrentFileEntry->subData.ptr = buffer;
}