diff options
Diffstat (limited to 'external/unbound/util/winsock_event.c')
-rw-r--r-- | external/unbound/util/winsock_event.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/external/unbound/util/winsock_event.c b/external/unbound/util/winsock_event.c index 38661a5e1..40b79821a 100644 --- a/external/unbound/util/winsock_event.c +++ b/external/unbound/util/winsock_event.c @@ -459,12 +459,9 @@ void event_base_free(struct event_base *base) verbose(VERB_CLIENT, "winsock_event event_base_free"); if(!base) return; - if(base->items) - free(base->items); - if(base->times) - free(base->times); - if(base->signals) - free(base->signals); + free(base->items); + free(base->times); + free(base->signals); free(base); } |