aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-omldummy/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-11-24 14:47:23 +0100
committerHarald Welte <laforge@osmocom.org>2021-11-24 20:02:42 +0100
commitcf12cee46cae64859f43b8e78002a1654cb901cd (patch)
treef7b1ace913ee178cf9c996e62bebf21f677fc3e6 /src/osmo-bts-omldummy/main.c
parent79f21c4ed172eadf1e3b046446cdec48ccce6a99 (diff)
cbch: Fix dangling cur_msg leading to double-free in bts_cbch_reset()
If a new default message is installed via RSL, and the old default message is currently being transmitted, we must set cur_msg to NULL. The old default message must be talloc_free()d unconditionally whenever a new default message is being set. We can do that by using the TALLOC_FREE macro. Change-Id: Id32c2074b61cd1f09957b9d1558ffb3a7691a8e0 Related: OS#5325
Diffstat (limited to 'src/osmo-bts-omldummy/main.c')
0 files changed, 0 insertions, 0 deletions