diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-11-15 16:58:22 +0100 |
---|---|---|
committer | Stefan Sperling <ssperling@sysmocom.de> | 2018-11-19 12:21:05 +0100 |
commit | fc2ff394e0a1b2325bdadaa0699bf8e8d0c716bb (patch) | |
tree | a75d495ace4c9edc1e171bea02762ea297339963 /src/osmo-bts-trx/trx_if.h | |
parent | 20284c4dbcf62e04cd53543fdd0779b6a10e3cff (diff) |
add missing check of osmo_wqueue_enqueue() return value
The return value of osmo_wqueue_enqueue() isn't checked.
This can result in a memory leak if the message cannot
be enqueued. Log an error an free the message upon failure,
as done elsewhere.
Change-Id: I5671ca364f31d98f2b28d028e7bf1797386de2ec
Related: CID#57662
Diffstat (limited to 'src/osmo-bts-trx/trx_if.h')
0 files changed, 0 insertions, 0 deletions