]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- For test put free in pluggable api in parenthesis.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Mar 2016 13:54:08 +0000 (13:54 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Mar 2016 13:54:08 +0000 (13:54 +0000)
git-svn-id: file:///svn/unbound/trunk@3670 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/ub_event_pluggable.c

index 235a728b5a026e794a8a753a71a35af3fe4f2a61..8f8ba072444d686d878593294f4be31e978e961a 100644 (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.
index 3ba1f29136331cb6fed79f066d2c20f155b16967..ccc7d64d5241e85fdf16fbb09449189939dfadc1 100644 (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);
        }
 }