From 48278c4c066a060c39f8054e0e19c449f7d653f4 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 16 Feb 2018 10:25:57 +0100 Subject: [PATCH] deallocate sdu in rlc_am_test --- lib/test/upper/rlc_am_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/test/upper/rlc_am_test.cc b/lib/test/upper/rlc_am_test.cc index 0b8c63668..b690210a9 100644 --- a/lib/test/upper/rlc_am_test.cc +++ b/lib/test/upper/rlc_am_test.cc @@ -64,6 +64,7 @@ public: { assert(lcid == 1); sdus[n_sdus++] = sdu; + byte_buffer_pool::get_instance()->deallocate(sdu); } void write_pdu_bcch_bch(byte_buffer_t *sdu) {} void write_pdu_bcch_dlsch(byte_buffer_t *sdu) {}