Index: addressbook/backends/groupwise/e-book-backend-groupwise.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/addressbook/backends/groupwise/e-book-backend-groupwise.c,v retrieving revision 1.74 diff -u -p -r1.74 e-book-backend-groupwise.c --- addressbook/backends/groupwise/e-book-backend-groupwise.c 10 Apr 2006 11:02:36 -0000 1.74 +++ addressbook/backends/groupwise/e-book-backend-groupwise.c 16 Apr 2006 07:30:20 -0000 @@ -2334,6 +2334,11 @@ find_book_view (EBookBackendGroupwise *e return NULL; EIterator *iter = e_list_get_iterator (views); EDataBookView *rv = NULL; + + if (!iter) { + g_object_unref (views); + return NULL; + } if (e_iterator_is_valid (iter)) { /* just always use the first book view */