From 44e7d41f57eb9f0bd7523bc1de9e6ed5ff674eb2 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sat, 6 Mar 2021 16:13:38 +0100 Subject: [PATCH] mac_nr: free tx softbuffer in stop() --- srsue/src/stack/mac_nr/mac_nr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsue/src/stack/mac_nr/mac_nr.cc b/srsue/src/stack/mac_nr/mac_nr.cc index 7143e0052..8290ec158 100644 --- a/srsue/src/stack/mac_nr/mac_nr.cc +++ b/srsue/src/stack/mac_nr/mac_nr.cc @@ -66,6 +66,8 @@ void mac_nr::stop() if (started) { started = false; } + + srslte_softbuffer_tx_free(&softbuffer_tx); } // Implement Section 5.9