mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
exec: remove check of NULL pointers before calling exec_free() (issue #865)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user