gprsdecode: Don't leak memory in gsmtap_sendmsg()

Change-Id: Ib9e439ad6f24c573abb6da1523713a669898d23f
Depends: libosmocore I106b09f2a49bf24ce0e8d11fd4d4ee93e9cafdf5
Related: OS#5329
This commit is contained in:
Harald Welte 2021-11-25 15:40:02 +01:00
parent 0af84f408d
commit da2793a216
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}