aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-22 10:42:32 +0800
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-22 10:37:57 +0200
commitd1cb41bfd020eb9b94b17e5bcaa5be36bceccc12 (patch)
tree71be0c17e837187ce9b8fa8a204f8004dc74cd67 /src/bts.cpp
parent5752285bc55c00ddcba45c0168eef0cb0238a3a7 (diff)
write_queue: Check the result of osmo_wqueue_enqueue and free
The write_queue is designed to have a maximum amount of pending messages and will refuse to take new messages when it has been reached. The caller can decide if it wants to flush the queue and add the message again, create a log. But in all cases the ownership of the msgb has not been transferred. Fix the potential memory leak in the failure situation.
Diffstat (limited to 'src/bts.cpp')
0 files changed, 0 insertions, 0 deletions