diff --git a/lib/src/common/test/thread_test.cc b/lib/src/common/test/thread_test.cc index 357ffe510..60e588928 100644 --- a/lib/src/common/test/thread_test.cc +++ b/lib/src/common/test/thread_test.cc @@ -25,7 +25,7 @@ class thread_test : public thread { public: - thread_test() : thread("Threat Test") {} + thread_test() : thread("Thread Test") {} protected: void run_thread() override { std::cout << "Hello world!" << std::endl; } diff --git a/srsenb/test/upper/erab_setup_test.cc b/srsenb/test/upper/erab_setup_test.cc index de668e617..2749a8a81 100644 --- a/srsenb/test/upper/erab_setup_test.cc +++ b/srsenb/test/upper/erab_setup_test.cc @@ -119,5 +119,7 @@ int main(int argc, char** argv) printf("\nSuccess\n"); - return 0; + srslte::byte_buffer_pool::get_instance()->cleanup(); + + return SRSLTE_SUCCESS; } diff --git a/srsenb/test/upper/rrc_mobility_test.cc b/srsenb/test/upper/rrc_mobility_test.cc index ecf5a5df5..7508098da 100644 --- a/srsenb/test/upper/rrc_mobility_test.cc +++ b/srsenb/test/upper/rrc_mobility_test.cc @@ -388,5 +388,7 @@ int main(int argc, char** argv) printf("\nSuccess\n"); - return 0; + srslte::byte_buffer_pool::get_instance()->cleanup(); + + return SRSLTE_SUCCESS; } \ No newline at end of file