mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
relay: remove check of NULL pointers before calling weechat_completion_free() (issue #865)
This commit is contained in:
@@ -811,8 +811,7 @@ RELAY_WEECHAT_PROTOCOL_CALLBACK(completion)
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
error:
|
||||
if (completion)
|
||||
weechat_completion_free (completion);
|
||||
weechat_completion_free (completion);
|
||||
|
||||
msg = relay_weechat_msg_new (id);
|
||||
if (msg)
|
||||
|
||||
Reference in New Issue
Block a user