aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.c
diff options
context:
space:
mode:
authorJean-Francois Dionne <jf.dionne@nutaq.com>2017-01-11 11:01:49 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-12 11:13:35 +0000
commit0e5b12f981e9844590db409ebe7584a57a0a3025 (patch)
treea89a9ab991baa59a29c8cfe0527ed900b36f916a /src/osmo-bts-sysmo/l1_if.c
parentdf75195666526d4ccd7e2e05c59db47fd02f9692 (diff)
lc15,sysmobts l1_if: fix memleak in handle_mph_time_ind()
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r--src/osmo-bts-sysmo/l1_if.c1
1 files changed, 1 insertions, 0 deletions
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;
}