# HG changeset patch # User Sadrul Habib Chowdhury # Date 1240697931 0 # Node ID bed515729afe41a9119b852c0806876b2b2ca74c # Parent a373ce73add0fdc7414412820ac6292f7cf2ef71 Don't corrupt memory if nick can not be changed. You can be upset if you can't change your nick, I guess, but that's no reason to corrupt your memory. diff -r a373ce73add0 -r bed515729afe libpurple/protocols/irc/msgs.c --- a/libpurple/protocols/irc/msgs.c Sat Apr 25 19:09:36 2009 +0000 +++ b/libpurple/protocols/irc/msgs.c Sat Apr 25 22:18:51 2009 +0000 @@ -1019,6 +1019,7 @@ _("Nickname in use"), buf); g_free(buf); g_free(irc->reqnick); + return; } if (strlen(args[1]) < strlen(irc->reqnick) || irc->nickused)