summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-11-25 15:40:02 +0100
committerHarald Welte <laforge@osmocom.org>2021-11-25 15:40:02 +0100
commitda2793a216f974817140bcd1eabde87157c4274c (patch)
tree748710b73e019f7e1bf8bef1c612b3c463fd98a1
parent0af84f408d4e7fed02365ed0c4ec501d12d7d724 (diff)
gprsdecode: Don't leak memory in gsmtap_sendmsg()HEADmaster
-rw-r--r--src/host/gprsdecode/gsmtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/gprsdecode/gsmtap.c b/src/host/gprsdecode/gsmtap.c
index 5c124b23..1096c2d4 100644
--- a/src/host/gprsdecode/gsmtap.c
+++ b/src/host/gprsdecode/gsmtap.c
@@ -100,6 +100,6 @@ void gsmtap_send_llc(uint8_t *data, size_t len, bool ul)
memcpy(dst, data, len);
/* Finally, send to the sink */
- gsmtap_sendmsg(gti, msg);
+ gsmtap_sendmsg_free(gti, msg);
}