aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/util/mini_event.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/unbound/util/mini_event.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/external/unbound/util/mini_event.c b/external/unbound/util/mini_event.c
index 40dca375a..98d15f677 100644
--- a/external/unbound/util/mini_event.c
+++ b/external/unbound/util/mini_event.c
@@ -261,12 +261,9 @@ void event_base_free(struct event_base* base)
{
if(!base)
return;
- if(base->times)
- free(base->times);
- if(base->fds)
- free(base->fds);
- if(base->signals)
- free(base->signals);
+ free(base->times);
+ free(base->fds);
+ free(base->signals);
free(base);
}