mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
Merge pull request #1120 from ailin-nemui/invalid-cap-free
free params
(cherry picked from commit 8a1a96c12c)
This commit is contained in:
parent
18e97d9e8b
commit
e8457188ce
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ static void event_cap (IRC_SERVER_REC *server, char *args, char *nick, char *add
|
||||||
/* Malformed request, terminate the negotiation */
|
/* Malformed request, terminate the negotiation */
|
||||||
else {
|
else {
|
||||||
irc_cap_finish_negotiation(server);
|
irc_cap_finish_negotiation(server);
|
||||||
|
g_free(params);
|
||||||
g_warn_if_reached();
|
g_warn_if_reached();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue