Revert "fix mem leak in log_filter"

This reverts commit 4222c6b9a0.
master
Ismael Gomez 7 years ago
parent 0c08a3b833
commit 6f80144fbe

@ -91,7 +91,6 @@ void log_filter::all_log(srslte::LOG_LEVEL_ENUM level,
str_ptr s_ptr(new std::string(ss.str())); str_ptr s_ptr(new std::string(ss.str()));
logger_h->log(s_ptr); 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())); str_ptr s_ptr(new std::string(ss.str()));
logger_h->log(s_ptr); logger_h->log(s_ptr);
delete s_ptr;
} }
} }

Loading…
Cancel
Save