summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/exec/exec-command.c')
-rw-r--r--src/plugins/exec/exec-command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c
index 66757da06..e2173f7de 100644
--- a/src/plugins/exec/exec-command.c
+++ b/src/plugins/exec/exec-command.c
@@ -644,8 +644,7 @@ error:
free (shell);
if (new_exec_cmd)
exec_free (new_exec_cmd);
- if (process_options)
- weechat_hashtable_free (process_options);
+ weechat_hashtable_free (process_options);
return WEECHAT_RC_ERROR;
}