diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-25 19:01:56 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-26 08:53:22 +0200 |
commit | 0b2d9bcb9b04b7e7ac3c2f626422392383575d2b (patch) | |
tree | 177e487efc30717415402ba969b246de3f88b28d /src/plugins/exec/exec-command.c | |
parent | 1ad0b4b6699df50e0cc6a3c5d62ce3ac1f77440c (diff) | |
download | weechat-0b2d9bcb9b04b7e7ac3c2f626422392383575d2b.zip |
plugins: remove check of NULL pointers before calling weechat_hashtable_free() (issue #865)
Diffstat (limited to 'src/plugins/exec/exec-command.c')
-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 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; } |