summaryrefslogtreecommitdiffstats
path: root/tests/write_queue
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-19 12:17:06 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-19 12:19:02 +0200
commit7023aa0af972441261ccb7d8e81c412279e7eb0e (patch)
treef45d6836778a8e5d6342c81b552b4e6a1dc297ab /tests/write_queue
parent8006f5393e21750558a01c780641831d925382ee (diff)
lapdm_rslms_recvmsg: Fix memory leak in error path
The caller of lapdm_rslms_recvmsg() (e.g. osmo-bts/src/common/rsl.c) assumes the message ownership is transferred. However, in one of the two error paths, msgb_free() was not called and hence we had a memory leak. Also clarify the msgb ownership transfer in a comment. Related: OS#3750 Change-Id: Id60cb45e50bfc89224d97df6c68fcd2949751895
Diffstat (limited to 'tests/write_queue')
0 files changed, 0 insertions, 0 deletions