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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user