diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-10-03 06:17:31 +0600 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2021-10-04 12:44:04 +0000 |
commit | 61349d6f14993def18a56e961bccfd00d038e4c4 (patch) | |
tree | a3261d3f71fac11b97f51522358e0cecc66e6043 | |
parent | 66f5fb057700496602ee505f3a1653517f1e6ac2 (diff) |
abis: fix memory leak in abis_oml_sendmsg()
Change-Id: Ifc46b94b4540705f7d9b4678a7398158f3aaf7c5
Fixes: Iecd3c7cb96f5fff3b4c7e04c74e031df0f7a6987
-rw-r--r-- | src/common/abis.c | 1 |
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; } |