1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Merge pull request #1120 from ailin-nemui/invalid-cap-free

free params
This commit is contained in:
ailin-nemui 2019-09-16 11:42:48 +02:00 committed by GitHub
commit 8a1a96c12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,7 @@ static void event_cap (IRC_SERVER_REC *server, char *args, char *nick, char *add
/* Malformed request, terminate the negotiation */
else {
irc_cap_finish_negotiation(server);
g_free(params);
g_warn_if_reached();
return;
}