diff -r 6f6f0b990441 -r eae130eefbfe src/protocols/irc/msgs.c --- a/src/protocols/irc/msgs.c Tue Jan 11 02:00:44 2005 +0000 +++ b/src/protocols/irc/msgs.c Tue Jan 11 17:25:06 2005 +0000 @@ -224,6 +224,7 @@ _("Buddy Information for %s"), irc->whois.nick); gaim_notify_userinfo(gc, irc->whois.nick, NULL, buffer, NULL, str, NULL, NULL); + g_free(irc->whois.nick); g_free(str); memset(&irc->whois, 0, sizeof(irc->whois)); } @@ -736,6 +737,7 @@ buf = irc_format(irc, "vn", "NICK", newnick); irc_send(irc, buf); g_free(buf); + g_free(newnick); } void irc_msg_notice(struct irc_conn *irc, const char *name, const char *from, char **args)