aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-10-03 06:17:31 +0600
committerfixeria <vyanitskiy@sysmocom.de>2021-10-04 12:44:04 +0000
commit61349d6f14993def18a56e961bccfd00d038e4c4 (patch)
treea3261d3f71fac11b97f51522358e0cecc66e6043
parent66f5fb057700496602ee505f3a1653517f1e6ac2 (diff)
abis: fix memory leak in abis_oml_sendmsg()
-rw-r--r--src/common/abis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/abis.c b/src/common/abis.c
index f1fb10c6..c0cd18cf 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -324,6 +324,7 @@ int abis_oml_sendmsg(struct msgb *msg)
if (!bts->oml_link) {
LOGP(DABIS, LOGL_INFO, "Drop Tx OML msg, OML link is down\n");
+ msgb_free(msg);
return 0;
}