mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-01-06 18:17:48 +00:00
Fix: trie: fixes regression caused by ref count refactoring
This commit is contained in:
parent
76b693b8f3
commit
e0bca21e7a
@ -681,15 +681,14 @@ trie_notify_del(qb_map_t * m, const char *key,
|
||||
|
||||
if (f->events == events && f->callback == fn) {
|
||||
if (cmp_userdata && (f->user_data == user_data)) {
|
||||
trie_notify_deref(f);
|
||||
found = QB_TRUE;
|
||||
} else if (!cmp_userdata) {
|
||||
trie_notify_deref(f);
|
||||
found = QB_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if (found) {
|
||||
trie_notify_deref(f);
|
||||
}
|
||||
}
|
||||
if (found) {
|
||||
trie_node_release(t, n);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user