diff options
-rw-r--r-- | src/plugins/exec/exec-command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c index e2173f7de..9f897c3ae 100644 --- a/src/plugins/exec/exec-command.c +++ b/src/plugins/exec/exec-command.c @@ -642,8 +642,7 @@ exec_command_run (struct t_gui_buffer *buffer, error: free (shell); - if (new_exec_cmd) - exec_free (new_exec_cmd); + exec_free (new_exec_cmd); weechat_hashtable_free (process_options); return WEECHAT_RC_ERROR; |