aboutsummaryrefslogtreecommitdiffstats
path: root/src/hlr.c
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-03-29 18:10:56 +0200
committerStefan Sperling <ssperling@sysmocom.de>2018-03-29 18:17:00 +0200
commit8f8401453cde2369c10a39e665abf566d4de1a81 (patch)
tree7ef2cc4bad3d788c34771ffb94a675136a4ae644 /src/hlr.c
parent70e7f21cb1748dbc766361d139d8854f7f63ceb0 (diff)
more robust usage of osmo_timer API for osmo-hlr luop timer
Use osmo_timer_setup() to set up the luop timer, instead of settting the timer up manually. Delete the timer before the luop is freed to prevent a potential crash in case the timer is already armed and the function call chain leading up to lu_op_free() does not cancel the timer. Found while studying code to prepare work on issue OS#2785. This change has been tested with 'make check' and TTCN3 HLR tests. Related: OS#2785 Change-Id: I1a7596675b2d94217895f0f3d3f67b86ef123c2e
Diffstat (limited to 'src/hlr.c')
0 files changed, 0 insertions, 0 deletions