1
0
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:
Sébastien Helleu
2024-04-25 19:57:23 +02:00
parent 7438d2c737
commit 42cba25453
+1 -2
View File
@@ -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;