mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #747: assert in outnet_serviced_query_stop.
git-svn-id: file:///svn/unbound/trunk@3646 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
73b5cc9a26
commit
4f1625afb7
2 changed files with 4 additions and 7 deletions
|
|
@ -1,3 +1,6 @@
|
|||
07 March 2016: Wouter
|
||||
- Fix #747: assert in outnet_serviced_query_stop.
|
||||
|
||||
03 March 2016: Wouter
|
||||
- configure tests for the weak attribute support by the compiler.
|
||||
|
||||
|
|
|
|||
|
|
@ -1948,13 +1948,7 @@ void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg)
|
|||
callback_list_remove(sq, cb_arg);
|
||||
/* if callbacks() routine scheduled deletion, let it do that */
|
||||
if(!sq->cblist && !sq->to_be_deleted) {
|
||||
#ifdef UNBOUND_DEBUG
|
||||
rbnode_t* rem =
|
||||
#else
|
||||
(void)
|
||||
#endif
|
||||
rbtree_delete(sq->outnet->serviced, sq);
|
||||
log_assert(rem); /* should be present */
|
||||
(void)rbtree_delete(sq->outnet->serviced, sq);
|
||||
serviced_delete(sq);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue