pespin has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-gprs/+/32122 )
Change subject: rlcmac: gprs_rlcmac_tbf_free():Call proper free function for DL TBF
......................................................................
rlcmac: gprs_rlcmac_tbf_free():Call proper free function for DL TBF
Change-Id: I65c37dd4ea20f039680e0927722b332d1140e62e
---
M src/rlcmac/tbf.c
1 file changed, 12 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/src/rlcmac/tbf.c b/src/rlcmac/tbf.c
index c82f0ea..a88e924 100644
--- a/src/rlcmac/tbf.c
+++ b/src/rlcmac/tbf.c
@@ -21,6 +21,7 @@
#include <osmocom/gprs/rlcmac/tbf.h>
#include <osmocom/gprs/rlcmac/tbf_ul.h>
+#include <osmocom/gprs/rlcmac/tbf_dl.h>
#include <osmocom/gprs/rlcmac/gre.h>
#include <osmocom/gprs/rlcmac/pdch_ul_controller.h>
@@ -43,5 +44,6 @@
{
if (tbf->direction == GPRS_RLCMAC_TBF_DIR_UL)
gprs_rlcmac_ul_tbf_free(tbf_as_ul_tbf(tbf));
- /* else: TODO dl_tbf not yet implemented */
+ else
+ gprs_rlcmac_dl_tbf_free(tbf_as_dl_tbf(tbf));
}
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/32122
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: I65c37dd4ea20f039680e0927722b332d1140e62e
Gerrit-Change-Number: 32122
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged