all repos — mgba @ 4d49aa095b000f2f869d53d7e1c0f527d6858e88

mGBA Game Boy Advance Emulator

Core: Fix threading memory leak
Vicki Pfau vi@endrift.com
Sat, 30 Jun 2018 15:51:51 -0700
commit

4d49aa095b000f2f869d53d7e1c0f527d6858e88

parent

9fef8ec49d559b13f9cca644b53da749b5ea52d5

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/core/thread.csrc/core/thread.c

@@ -269,6 +269,9 @@ threadContext->cleanCallback(threadContext);

} core->clearCoreCallbacks(core); + if (threadContext->logger.d.filter == &filter) { + mLogFilterDeinit(&filter); + } threadContext->logger.d.filter = NULL; return 0;