From e5ed6ac870933c6151e2691864d1d4ea76eb0a3c Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 13 Jan 2020 16:01:48 +0100 Subject: [PATCH] fix tiny memleak by not joining input thread --- srsenb/src/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsenb/src/main.cc b/srsenb/src/main.cc index ec4e12786..7754ba9b1 100644 --- a/srsenb/src/main.cc +++ b/srsenb/src/main.cc @@ -475,6 +475,7 @@ int main(int argc, char* argv[]) usleep(10000); } pthread_cancel(input); + pthread_join(input, NULL); metricshub.stop(); enb->stop(); enb->cleanup();