mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
Fixed a memory leak in the new unified decodeGfxUnified decoder method
svn-id: r40585
This commit is contained in:
parent
fe795a739e
commit
fc87b82861
@ -131,6 +131,7 @@ void decodeGfxUnified(dataFileEntry *pCurrentFileEntry, int16 format) {
|
||||
}
|
||||
}
|
||||
|
||||
free(pCurrentFileEntry->subData.ptr);
|
||||
pCurrentFileEntry->subData.ptr = buffer;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user