changeset 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 9885420f049f
children f32ee2e97b37
files COPYRIGHT src/protocols/msn/msn.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Thu May 27 05:51:01 2004 +0000
+++ b/COPYRIGHT	Thu May 27 05:53:00 2004 +0000
@@ -8,6 +8,7 @@
 Paul Aurich
 Patrick Aussems
 Kevin Barry
+Curtis Beattie
 Brian Bernas
 Jonas Birmé
 Ethan Blanton
--- 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;
 	}