diff --git a/src/irc/core/irc-cap.c b/src/irc/core/irc-cap.c index 639aace1..4dd9ceca 100644 --- a/src/irc/core/irc-cap.c +++ b/src/irc/core/irc-cap.c @@ -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; }