aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/calendar
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-08-16 22:55:29 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-08-16 22:55:29 +0800
commit6fe9bc90ac72514248bde0633e7144151a2abe06 (patch)
treeaab5cca990fbe17b63010d54ac26053625916e71 /a11y/calendar
parent96a00818a7f31a62f304e57570e9cd3ac746ff9d (diff)
downloadgsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar.gz
gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar.zst
gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.zip
Don't leak summary_string here.
2006-08-16 Kjartan Maraas <kmaraas@gnome.org> * calendar/ea-cal-view-event.c: (ea_cal_view_event_get_name): Don't leak summary_string here. svn path=/trunk/; revision=32550
Diffstat (limited to 'a11y/calendar')
-rw-r--r--a11y/calendar/ea-cal-view-event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/a11y/calendar/ea-cal-view-event.c b/a11y/calendar/ea-cal-view-event.c
index fa5631a859..ecf31c5ea2 100644
--- a/a11y/calendar/ea-cal-view-event.c
+++ b/a11y/calendar/ea-cal-view-event.c
@@ -278,6 +278,7 @@ ea_cal_view_event_get_name (AtkObject *accessible)
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