aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 107031d9f4..d48066f72b 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1530,6 +1530,11 @@ e_contact_editor_dispose (GObject *object) {
e_contact_editor->book = NULL;
}
+ if (e_contact_editor->select_names_contacts) {
+ g_object_unref(e_contact_editor->select_names_contacts);
+ e_contact_editor->select_names_contacts = NULL;
+ }
+
if (e_contact_editor->name) {
e_card_name_unref(e_contact_editor->name);
e_contact_editor->name = NULL;