diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-08-16 22:55:29 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-08-16 22:55:29 +0800 |
commit | 6fe9bc90ac72514248bde0633e7144151a2abe06 (patch) | |
tree | aab5cca990fbe17b63010d54ac26053625916e71 | |
parent | 96a00818a7f31a62f304e57570e9cd3ac746ff9d (diff) | |
download | gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar.gz gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar.bz2 gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar.lz gsoc2013-evolution-6fe9bc90ac72514248bde0633e7144151a2abe06.tar.xz 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
-rw-r--r-- | a11y/ChangeLog | 5 | ||||
-rw-r--r-- | a11y/calendar/ea-cal-view-event.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog index 3a2b259572..f56d6f5208 100644 --- a/a11y/ChangeLog +++ b/a11y/ChangeLog @@ -1,3 +1,8 @@ +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. + 2006-07-13 Andre Klapper <a9016009@gmx.de> * calendar/ea-day-view.c: Added translator comments to 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 |