aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c60f5443..79a9d4d0 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -404,6 +404,7 @@ static int abis_sock_cb(struct osmo_fd *bfd, unsigned int what)
if (msg) {
LOGP(DABIS, LOGL_DEBUG, "Sending messages to Abis socket.\n");
ret = send(link->bfd.fd, msg->data, msg->len, 0);
+ msgb_free(msg);
if (ret < 0)
goto close;
} else