diff options
author | Milan Crha <mcrha@redhat.com> | 2008-02-18 19:10:10 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-02-18 19:10:10 +0800 |
commit | a0bb856b78226d72fdbada28f554f717658749ba (patch) | |
tree | b9c2f4cb2fdb9760d68b75c405c364c087ad74c4 /mail | |
parent | 1157f25a6959581bb1ffee62d700f52cb49c7d4b (diff) | |
download | gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.tar gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.tar.gz gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.tar.bz2 gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.tar.lz gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.tar.xz gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.tar.zst gsoc2013-evolution-a0bb856b78226d72fdbada28f554f717658749ba.zip |
** Part of fix for bug #515744
2008-02-18 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #515744
* addressbook/gui/component/addressbook-migrate.c: (get_source_name):
* plugins/groupwise-features/send-options.c: (get_source):
* plugins/groupwise-features/share-folder-common.c: (get_container_id):
* plugins/groupwise-features/install-shared.c: (install_folder_response):
* plugins/external-editor/external-editor.c: (convert_to_camel_internet_address),
(org_gnome_external_editor):
* plugins/itip-formatter/itip-formatter.c: (idle_open_cb):
* mail/em-folder-view.c: (emfv_setup_view_instance):
* mail/mail-component.c: (impl_finalize):
* mail/message-list.c: (ml_tree_value_at):
* composer/e-msg-composer.c: (drop_action):
* e-util/e-config.c: (ep_finalise): Use proper member to free.
* widgets/misc/e-cursors.c: (e_cursors_init):
* widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month):
* calendar/gui/dialogs/comp-editor.c: (drop_action):
* calendar/gui/calendar-config.c:
(calendar_config_get_hide_completed_tasks_sexp):
* calendar/gui/comp-editor-factory.c: (edit_existing):
* calendar/gui/e-day-view.c: (e_day_view_reshape_long_event),
(e_day_view_on_top_canvas_drag_data_received):
* calendar/gui/e-day-view-main-item.c:
(e_day_view_main_item_draw_events_in_vbars),
(e_day_view_main_item_draw_long_events_in_vbars):
* calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
* calendar/gui/e-cal-model.c: (redo_queries):
* calendar/gui/e-calendar-table.c: (e_calendar_table_open_task):
* calendar/gui/e-memo-table.c: (open_memo):
* calendar/gui/print.c: (print_todo_details):
* calendar/gui/migration.c: (get_source_name):
Memory leak fix.
* calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things.
svn path=/trunk/; revision=35044
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 9 | ||||
-rw-r--r-- | mail/em-folder-view.c | 1 | ||||
-rw-r--r-- | mail/mail-component.c | 1 | ||||
-rw-r--r-- | mail/message-list.c | 7 |
4 files changed, 16 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 3411d8356b..ed1bf8f535 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +2008-02-18 Milan Crha <mcrha@redhat.com> + + ** Part of fix for bug #515744 + + * em-folder-view.c: (emfv_setup_view_instance): + * mail-component.c: (impl_finalize): + * message-list.c: (ml_tree_value_at): + Memory leak fix. + 2008-02-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #167638 diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index cd31926862..53ec53d526 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -664,6 +664,7 @@ emfv_setup_view_instance(EMFolderView *emfv) g_free (filename); filename = g_strdup_printf ("current_wide_view-%s.xml", safe_id); p->view_instance->current_view_filename = g_build_filename (collection->local_dir, filename, NULL); + g_free (filename); g_free (safe_id); } g_free (id); diff --git a/mail/mail-component.c b/mail/mail-component.c index eb9f9c8b59..879c346494 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -489,6 +489,7 @@ impl_finalize (GObject *object) g_free (priv->context_path); g_mutex_free(priv->lock); + g_object_unref (priv->model); g_object_unref (priv->logger); g_free (priv); diff --git a/mail/message-list.c b/mail/message-list.c index 68b59449fa..3f9a3644ae 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1493,8 +1493,11 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data) char **sender_name = NULL; str = camel_message_info_from (msg_info); if(str && str[0] != '\0'){ - sender_name=g_strsplit(str,"<",2); - return (void *)(*sender_name); + char *res; + sender_name = g_strsplit (str,"<",2); + res = g_strdup (*sender_name); + g_strfreev (sender_name); + return (void *)(res); } else return (void *)(""); |