From 6f80144fbe3f873e86d9196db076e52fec71afec Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 12 Feb 2018 19:23:57 +0100 Subject: [PATCH] Revert "fix mem leak in log_filter" This reverts commit 4222c6b9a09426168769b260e7ea469d250284c3. --- lib/src/common/log_filter.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/common/log_filter.cc b/lib/src/common/log_filter.cc index 4d80a8523..b498d466c 100644 --- a/lib/src/common/log_filter.cc +++ b/lib/src/common/log_filter.cc @@ -91,7 +91,6 @@ void log_filter::all_log(srslte::LOG_LEVEL_ENUM level, str_ptr s_ptr(new std::string(ss.str())); logger_h->log(s_ptr); - delete(s_ptr); } } @@ -132,7 +131,6 @@ void log_filter::all_log(srslte::LOG_LEVEL_ENUM level, } str_ptr s_ptr(new std::string(ss.str())); logger_h->log(s_ptr); - delete s_ptr; } }