diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-16 01:23:29 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-16 01:29:37 +0100 |
commit | c9a4ce600afc5a11f36c78302f017db9918b4c36 (patch) | |
tree | f29162f49304f40d199647868613a8d6ce6118d3 /src/bitcomp.c | |
parent | b0c43a606334cb6d0796e9fb102823ce040224f6 (diff) |
gsmtap_sendmsg(): clarify API doc concerning msgb ownership
Not freeing on error does enable callers to try to re-send as well, so it is a
kind of useful feature, even though I find it likely for callers to either
forget about freeing the msg on error or double-free by accident...
I considered changing gsmtap_sendmsg() to always free, but since it is public
API, I chose to keep and document its current behavior properly instead. We
don't know what callers may exist out there.
Change-Id: Id3266ce36442024f16eaf6afa3f516d201930c41
Diffstat (limited to 'src/bitcomp.c')
0 files changed, 0 insertions, 0 deletions