- For test put free in pluggable api in parenthesis.

git-svn-id: file:///svn/unbound/trunk@3670 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-03-11 13:54:08 +00:00
parent eaa3428d58
commit c16592282a
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
- Remove warning about unused parameter in event_pluggable.c.
- Fix libev usage of dispatch return value.
- No side effects in tolower() call, in case it is a macro.
- For test put free in pluggable api in parenthesis.
10 March 2016: Wouter
- Fixup backend2str for libev.

View file

@ -571,7 +571,7 @@ ub_event_free(struct ub_event* ev)
if (ev && ev->magic == UB_EVENT_MAGIC) {
fptr_ok(ev->vmt != &default_event_vmt ||
ev->vmt->free == my_event_free);
ev->vmt->free(ev);
(*ev->vmt->free)(ev);
}
}