Core: Fix threading memory leak
Vicki Pfau vi@endrift.com
Sat, 30 Jun 2018 15:51:51 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/core/thread.c
→
src/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;