libosmocore/include
Harald Welte 9e34f08d0b gsmtap: Add gsmtap_sendmsg_free() as alternative to gsmtap_sendmsg()
gsmtap_sendmsg() places the burden of freeing the msgb in case of
erroneous return codes on the caller.  A review of existing users
shows that this is overly optimistic and many calls get it wrong,
opening up memory leaks.

Let's add a new function gsmtap_sendmsg_free() which behaves like
gsmtap_sendmsg() but always takes ownership: Either it is sent + freed,
or it is just freed.

Change-Id: I106b09f2a49bf24ce0e8d11fd4d4ee93e9cafdf5
Related: OS#5329
2021-11-25 15:52:26 +01:00
..
osmocom gsmtap: Add gsmtap_sendmsg_free() as alternative to gsmtap_sendmsg() 2021-11-25 15:52:26 +01:00
Makefile.am add osmo_time_cc, moved from osmo-bsc 2021-11-15 09:06:03 +00:00