Patch for a small leak in ea-cal-view-event.c

Kjartan Maraas <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <1155736582.28210.9.camel@rivendell>
Another leak fix.

Cheers
Kjartan

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
ea-cal-view-event.c-leak.patch (text/x-patch, 721 B)
Index: calendar/ea-cal-view-event.c
===================================================================
RCS file: /cvs/gnome/evolution/a11y/calendar/ea-cal-view-event.c,v
retrieving revision 1.13
diff -u -p -r1.13 ea-cal-view-event.c
--- calendar/ea-cal-view-event.c	28 Apr 2006 09:27:51 -0000	1.13
+++ calendar/ea-cal-view-event.c	16 Aug 2006 13:56:00 -0000
@@ -278,6 +278,7 @@ ea_cal_view_event_get_name (AtkObject *a
 		summary_string = g_strdup (_("Calendar Event: It has no summary."));
 
 	name_string = g_strdup_printf ("%s %s %s %s", summary_string, alarm_string, recur_string, meeting_string);
+	g_free (summary_string);
 
 	ATK_OBJECT_CLASS (parent_class)->set_name (accessible, name_string);
 #ifdef ACC_DEBUG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.