=== modified file 'addressbook/backends/file/e-book-backend-file.c' --- addressbook/backends/file/e-book-backend-file.c 2007-12-18 16:36:30 +0000 +++ addressbook/backends/file/e-book-backend-file.c 2007-12-18 16:42:54 +0000 @@ -666,6 +666,9 @@ FileBackendSearchClosure *closure = get_closure (book_view); gboolean need_join; + if (!closure) + return; + d(printf ("stopping query\n")); need_join = e_flag_is_set (closure->running); e_flag_clear (closure->running);