1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00

irc: fix crash when setting an invalid regex with "/list -re" during a /list server response (closes #412)

This commit is contained in:
Sébastien Helleu
2015-04-25 08:54:48 +02:00
parent 6c4c4a37fd
commit 4695b26a57
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -2722,6 +2722,8 @@ irc_command_list (void *data, struct t_gui_buffer *buffer, int argc,
"(%s)"),
weechat_prefix ("error"), IRC_PLUGIN_NAME,
argv_eol[1], buf);
free (ptr_server->cmd_list_regexp);
ptr_server->cmd_list_regexp = NULL;
return WEECHAT_RC_OK;
}
}