diff src/protocols/msn/msn.c @ 9086:9fcbb18aa7be

[gaim-migrate @ 9863] Patch by Curtis Beattie to plug a memory leak when a user attempts to set a friendly name in MSN that is longer than the allowed size. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 27 May 2004 05:53:00 +0000
parents 0d5206ffe86a
children 97a1fb329cd2
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Thu May 27 05:51:01 2004 +0000
+++ b/src/protocols/msn/msn.c	Thu May 27 05:53:00 2004 +0000
@@ -78,6 +78,9 @@
 	{
 		gaim_notify_error(gc, NULL,
 						  _("Your new MSN friendly name is too long."), NULL);
+
+		g_free(alias);
+
 		return;
 	}