aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/util/mini_event.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-30 12:57:50 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-30 12:57:50 +0200
commit2d43ae806359c89818c0519d81a65ded768746d8 (patch)
treec5ca4144a8f721efb0b4d051ee604f2694e6df64 /external/unbound/util/mini_event.c
parentno longer need to pass the size to rapidjson (diff)
downloadmonero-2d43ae806359c89818c0519d81a65ded768746d8.tar.xz
update unbound, fix unbound openssl issue on OS X
Diffstat (limited to 'external/unbound/util/mini_event.c')
-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);
}