aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/util/tube.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-30 13:21:50 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-30 13:21:50 +0200
commit91001aa4460a59a42dc14a32c8e90717fd29dbd2 (patch)
tree68da43b847d517870a2f5c92a6ef13167730945c /external/unbound/util/tube.c
parentMerge pull request #577 (diff)
parentfix missing unbound tests (diff)
downloadmonero-91001aa4460a59a42dc14a32c8e90717fd29dbd2.tar.xz
Merge pull request #578
3edbf57 fix missing unbound tests (Riccardo Spagni) 2d43ae8 update unbound, fix unbound openssl issue on OS X (Riccardo Spagni)
Diffstat (limited to 'external/unbound/util/tube.c')
-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)