mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 10:02:22 +02:00
Fix memory leak in cap code
This commit is contained in:
parent
e36d6b9b8c
commit
b7ed41d072
1 changed files with 1 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ static void event_cap (IRC_SERVER_REC *server, char *args, char *nick, char *add
|
||||||
else {
|
else {
|
||||||
irc_cap_finish_negotiation(server);
|
irc_cap_finish_negotiation(server);
|
||||||
g_warn_if_reached();
|
g_warn_if_reached();
|
||||||
|
g_free(params);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue