aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/util/tube.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/tube.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 '')
-rw-r--r--external/unbound/util/tube.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/external/unbound/util/tube.c b/external/unbound/util/tube.c
index 2106a078c..053547438 100644
--- a/external/unbound/util/tube.c
+++ b/external/unbound/util/tube.c
@@ -118,10 +118,8 @@ void tube_remove_bg_listen(struct tube* tube)
comm_point_delete(tube->listen_com);
tube->listen_com = NULL;
}
- if(tube->cmd_msg) {
- free(tube->cmd_msg);
- tube->cmd_msg = NULL;
- }
+ free(tube->cmd_msg);
+ tube->cmd_msg = NULL;
}
void tube_remove_bg_write(struct tube* tube)