aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-21 11:30:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-01-23 18:22:11 +0100
commit4a303c7c38b322e5738a9492e077467bddfd3f38 (patch)
treecce6e3d46fe146e8170e040027018f38b19f761e /src/osmo-bts-sysmo/oml.c
parent8597a278d681e687920d62271559e8589781b1e4 (diff)
oml: Fix memory leak in the callback
Diffstat (limited to 'src/osmo-bts-sysmo/oml.c')
-rw-r--r--src/osmo-bts-sysmo/oml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index 97a488f6..ee810fcf 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -298,6 +298,7 @@ uint32_t trx_get_hlayer1(struct gsm_bts_trx *trx)
static int trx_close_compl_cb(struct msgb *l1_msg, void *data)
{
+ msgb_free(l1_msg);
return 0;
}