From 8a831379c161f3970ae8203aac17260eda0cfdec Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 4 Apr 2018 15:52:36 +0200 Subject: [PATCH] fix RLC AM SDU reset --- lib/src/upper/rlc_am.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index 2537ee48c..407d912ea 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -127,10 +127,10 @@ void rlc_am::reset() pthread_mutex_lock(&mutex); reordering_timeout.reset(); if(tx_sdu) { - pool->deallocate(tx_sdu); + tx_sdu->reset(); } if(rx_sdu) { - pool->deallocate(rx_sdu); + rx_sdu->reset(); } vt_a = 0;