summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-02-14 17:54:07 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-02-14 17:54:07 +0100
commit7c1aa26a289f18ce5dda6021166d7fcfedcb8911 (patch)
tree45b6bbeabafea82dd89a7b6ece981a28bef4948f /test/main.c
parent50a10f5cf062b7dcd3780983b035cc7ffe06778e (diff)
call: move CALL_EVENT_ESTABLISHED to the end
- since the callback handler might destroy the call object, it is safer to call the handler as the last thing in the function. otherwise the call object might be corrupt, i.e. pointing to deallocated memory.
Diffstat (limited to 'test/main.c')
0 files changed, 0 insertions, 0 deletions