aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-litecell15/l1_if.c1
-rw-r--r--src/osmo-bts-sysmo/l1_if.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index 99533d73..c70bd9ec 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -647,6 +647,7 @@ static int handle_mph_time_ind(struct lc15l1_hdl *fl1,
/* ignore every time indication, except for c0 */
if (trx != bts->c0) {
+ msgb_free(msg);
return 0;
}
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index ad9aa644..82db8d70 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -642,6 +642,7 @@ static int handle_mph_time_ind(struct femtol1_hdl *fl1,
/* ignore every time indication, except for c0 */
if (trx != bts->c0) {
+ msgb_free(msg);
return 0;
}