diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-30 13:21:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-30 13:21:50 +0200 |
commit | 91001aa4460a59a42dc14a32c8e90717fd29dbd2 (patch) | |
tree | 68da43b847d517870a2f5c92a6ef13167730945c /external/unbound/util/tube.c | |
parent | Merge pull request #577 (diff) | |
parent | fix missing unbound tests (diff) | |
download | monero-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.c | 6 |
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) |