1
0
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:
Sébastien Helleu
2024-04-25 19:40:05 +02:00
parent 1a31512503
commit 114084a4fc
@@ -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)