mirror of https://github.com/mgba-emu/mgba.git
GBA Core: Fix memory leak when loading symbols
This commit is contained in:
parent
5f68358e8b
commit
f4522c3942
1
CHANGES
1
CHANGES
|
@ -44,6 +44,7 @@ Other fixes:
|
|||
- FFmpeg: Fix encoding of time base
|
||||
- GBA: Disable more checks when loading GS save with checks disabled (fixes mgba.io/i/1851)
|
||||
- GBA: Fix endianness issues in renderer proxy
|
||||
- GBA Core: Fix memory leak when loading symbols
|
||||
- Qt: Force OpenGL paint engine creation thread (fixes mgba.io/i/1642)
|
||||
- Qt: Fix static compilation in MinGW (fixes mgba.io/i/1769)
|
||||
- Qt: Fix a race condition in the frame inspector
|
||||
|
|
|
@ -220,6 +220,11 @@ static void _GBACoreDeinit(struct mCore* core) {
|
|||
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
|
||||
mDirectorySetDeinit(&core->dirs);
|
||||
#endif
|
||||
#ifdef USE_DEBUGGERS
|
||||
if (core->symbolTable) {
|
||||
mDebuggerSymbolTableDestroy(core->symbolTable);
|
||||
}
|
||||
#endif
|
||||
|
||||
struct GBACore* gbacore = (struct GBACore*) core;
|
||||
free(gbacore->debuggerPlatform);
|
||||
|
|
Loading…
Reference in New Issue