1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

irc: fix memory leak in callback of IRC message 353

This commit is contained in:
Sébastien Helleu
2021-11-06 17:55:31 +01:00
parent b3cf7658f7
commit 8bb5e33348
+2
View File
@@ -5597,6 +5597,8 @@ IRC_PROTOCOL_CALLBACK(353)
free (str_params);
if (str_nicks)
weechat_string_dyn_free (str_nicks, 1);
if (nicks)
weechat_string_free_split (nicks);
return WEECHAT_RC_OK;
}