aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/util/winsock_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/winsock_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/winsock_event.c')
-rw-r--r--external/unbound/util/winsock_event.c9
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);
}