Permalink
Browse files
Core: Fix threading memory leak
- Loading branch information...
Showing
with
3 additions
and
0 deletions.
-
+3
−0
src/core/thread.c
|
|
@@ -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