diff options
Diffstat (limited to '')
-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) |