diff options
author | Chris Heath <chris@heathens.co.nz> | 2006-06-09 10:21:03 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2006-06-09 10:21:03 +0800 |
commit | 56c45fcfabb6a832d5e044fcde87e8ec3b25367b (patch) | |
tree | 4b187b43f4d0c02f7259e66258b1293b164d8262 | |
parent | 4602caf9bcec384ef8a7b430584b7ffc68aea327 (diff) | |
download | gsoc2013-evolution-56c45fcfabb6a832d5e044fcde87e8ec3b25367b.tar.gz gsoc2013-evolution-56c45fcfabb6a832d5e044fcde87e8ec3b25367b.tar.zst gsoc2013-evolution-56c45fcfabb6a832d5e044fcde87e8ec3b25367b.zip |
Fix memory leak. Fixes bug #335423.
2006-06-09 Chris Heath <chris@heathens.co.nz>
* addressbook/gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form):
* addressbook/gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact):
* e-util/e-plugin.c (ep_construct):
* mail/message-list.c (message_list_finalise):
* plugins/itip-view.c (itip_view_destroy): Fix memory leak.
Fixes bug #335423.
svn path=/trunk/; revision=32101
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 1 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-popup-control.c | 2 | ||||
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-plugin.c | 3 | ||||
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/message-list.c | 1 | ||||
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-view.c | 2 |
9 files changed, 30 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 04ddcca937..e6d4130c33 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2006-06-09 Chris Heath <chris@heathens.co.nz> + + * gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form): Fix + memory leak + * gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact): Ditto. + Fixes bug #335423. + 2006-05-25 Devashish Sharma <sdevashish@novell.com> * gui/contact-editor/e-contact-quick-add.c : Right click add to diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index 66144a65d7..ec70ac360e 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -138,7 +138,6 @@ merge_cb (EBook *book, EBookStatus status, gpointer closure) static void quick_add_merge_contact (QuickAdd *qa) { - quick_add_ref (qa); addressbook_load (qa->book, merge_cb, qa); } diff --git a/addressbook/gui/widgets/eab-popup-control.c b/addressbook/gui/widgets/eab-popup-control.c index b682e189a2..bf8a26b002 100644 --- a/addressbook/gui/widgets/eab-popup-control.c +++ b/addressbook/gui/widgets/eab-popup-control.c @@ -208,6 +208,8 @@ eab_popup_control_set_free_form (EABPopupControl *pop, const gchar *txt) gchar *email = g_strndup (lt+1, gt-lt-1); eab_popup_control_set_name (pop, name); eab_popup_control_set_email (pop, email); + g_free(name); + g_free(email); return TRUE; } diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 995c008a9b..0fbcf9df6b 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2006-06-09 Chris Heath <chris@heathens.co.nz> + + * e-plugin.c (ep_construct): Fix memory leak. + Fixes bug #335423. + 2006-06-08 Gary Coady <garycoady@ubuntu.com> * e-i18n.h: Use the correct gettext domain for translations. diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c index 176b03a1ff..d565c498a0 100644 --- a/e-util/e-plugin.c +++ b/e-util/e-plugin.c @@ -188,6 +188,9 @@ ep_construct(EPlugin *ep, xmlNodePtr root) oldclass = class; l = NULL; } + else { + g_free(class); + } l = g_slist_prepend(l, ep); g_hash_table_insert(ep_plugins_pending_hooks, oldclass, l); ep->hooks_pending = g_slist_prepend(ep->hooks_pending, node); diff --git a/mail/ChangeLog b/mail/ChangeLog index b90f821a61..ecf9457dcd 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2006-06-29 Chris Heath <chris@heathens.co.nz> + + * message-list.c (message_list_finalise): Fix memory leak. + Fixes bug #335423. + 2006-06-07 Srinivasa Ragavan <sragavan@novell.com> * em-format-html.c: (efh_format_address): Fixed a minor bug, where the diff --git a/mail/message-list.c b/mail/message-list.c index 3358e75833..1b166f0bf2 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2083,6 +2083,7 @@ message_list_finalise (GObject *object) message_list->hidden_pool = NULL; } + g_free(message_list->search); g_free(message_list->frozen_search); g_free(message_list->cursor_uid); diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index f8eca09148..e968a282cd 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2006-06-09 Chris Heath <chris@heathens.co.nz> + + * itip-view.c (itip_view_destroy): Fix memory leak. + Fixes bug #335423. + 2006-05-31 Chenthill Palanisamy <pchenthill@novell.com> Fixes #340296 diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c index 21afa00568..8e272ad52b 100644 --- a/plugins/itip-formatter/itip-view.c +++ b/plugins/itip-formatter/itip-view.c @@ -756,11 +756,13 @@ itip_view_destroy (GtkObject *object) g_free (priv->sentby); g_free (priv->delegator); g_free (priv->attendee); + g_free (priv->summary); g_free (priv->location); g_free (priv->status); g_free (priv->comment); g_free (priv->start_tm); g_free (priv->end_tm); + g_free (priv->description); itip_view_clear_upper_info_items (view); itip_view_clear_lower_info_items (view); |