changeset 4225:76ea459c8b5b

[gaim-migrate @ 4469] Nicola's Lichtmaier (niqueco) thinks this fixes a leak, but wasn't sure. paco-paco agrees. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 07 Jan 2003 15:54:27 +0000
parents 3efda23b7540
children a7d1eddc0afc
files src/multi.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Tue Jan 07 14:31:20 2003 +0000
+++ b/src/multi.c	Tue Jan 07 15:54:27 2003 +0000
@@ -1445,8 +1445,9 @@
 	
 	nest_vbox = gtk_vbox_new (FALSE, 0);
 	
-	name_to_print = g_string_prepend(name_to_print, _("Signon: "));
+	g_string_prepend(name_to_print, _("Signon: "));
 	label = gtk_label_new (name_to_print->str);
+	g_string_free(name_to_print, TRUE);
 	gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
 		
 	meter->status = gtk_statusbar_new();