diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-05-19 12:17:06 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-19 12:19:02 +0200 |
commit | 7023aa0af972441261ccb7d8e81c412279e7eb0e (patch) | |
tree | f45d6836778a8e5d6342c81b552b4e6a1dc297ab /src/gsm/comp128v23.c | |
parent | 8006f5393e21750558a01c780641831d925382ee (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 'src/gsm/comp128v23.c')
0 files changed, 0 insertions, 0 deletions