diff options
-rw-r--r-- | src/plugins/relay/weechat/relay-weechat-protocol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.c b/src/plugins/relay/weechat/relay-weechat-protocol.c index d2b3e144c..5a9d85351 100644 --- a/src/plugins/relay/weechat/relay-weechat-protocol.c +++ b/src/plugins/relay/weechat/relay-weechat-protocol.c @@ -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) |