Permalink
Browse files

Core: Fix threading memory leak

  • Loading branch information...
endrift committed Jun 30, 2018
1 parent 9fef8ec commit 4d49aa095b000f2f869d53d7e1c0f527d6858e88
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/thread.c
View
@@ -269,6 +269,9 @@ static THREAD_ENTRY _mCoreThreadRun(void* context) {
}
core->clearCoreCallbacks(core);
+ if (threadContext->logger.d.filter == &filter) {
+ mLogFilterDeinit(&filter);
+ }
threadContext->logger.d.filter = NULL;
return 0;

0 comments on commit 4d49aa0

Please sign in to comment.