diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index db0f7b5124..3f36f6f3a5 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -108,6 +108,8 @@ view_destroy(GtkObject *object, gpointer data) if (view->book_view == PAS_BOOK_VIEW(object)) { g_free (view->search); g_free (view); + if (view->search_idle != 0) + g_source_remove(view->search_idle); bl->priv->book_views = g_list_remove_link(bl->priv->book_views, list); g_list_free_1(list); break; |