diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-04-03 13:35:48 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-04-03 13:35:48 +0800 |
commit | 7a4bd61930f826ceabf144bf1d4ca06592565e90 (patch) | |
tree | e05e3a2e25f54c8b7015c33311b121131ffb7777 /calendar/gui/e-tasks.c | |
parent | 44882da7a7193185f7b593ac3799758c5065f6e4 (diff) | |
download | gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.gz gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.bz2 gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.lz gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.xz gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.tar.zst gsoc2013-evolution-7a4bd61930f826ceabf144bf1d4ca06592565e90.zip |
Plug leak.
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* gui/e-tasks.c (e_tasks_setup_menus): Plug leak.
* gui/event-editor.c (obj_updated_cb): Do nothing for now until we
think of something sensible to do.
(obj_removed_cb): Likewise.
* gui/dialogs/task-editor.c (obj_updated_cb): Likewise.
(obj_removed_cb): Likewise.
* gui/event-editor.c (dialog_to_comp_object): Plug leak.
svn path=/trunk/; revision=9124
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r-- | calendar/gui/e-tasks.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 69e6ddaeb4..e69b2a4037 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -551,12 +551,15 @@ e_tasks_setup_menus (ETasks *tasks, GalViewMenus *views; GalViewFactory *factory; ETableSpecification *spec; + char *dir; collection = gal_view_collection_new(); - /* FIXME: Memory leak. */ + + dir = gnome_util_prepend_user_home ("/evolution/views/tasks/"); gal_view_collection_set_storage_directories (collection, EVOLUTION_DATADIR "/evolution/views/tasks/", - gnome_util_prepend_user_home ("/evolution/views/tasks/")); + dir); + g_free (dir); spec = e_table_specification_new (); e_table_specification_load_from_string (spec, e_calendar_table_get_spec()); |