evolution-data-server r8499 - in trunk/addressbook: . backends/file



Author: pchen
Date: Mon Feb 18 09:14:23 2008
New Revision: 8499
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8499&view=rev

Log:
2008-02-18  Chenthill Palanisamy  <pchenthill novell com>

        Fixes #164140 (bnc)
        * backends/file/e-book-backend-file.c
        (e_book_backend_file_stop_book_view): Fixes a crash.
        Patch from downstream opensuse.                                       



Modified:
   trunk/addressbook/ChangeLog
   trunk/addressbook/backends/file/e-book-backend-file.c

Modified: trunk/addressbook/backends/file/e-book-backend-file.c
==============================================================================
--- trunk/addressbook/backends/file/e-book-backend-file.c	(original)
+++ trunk/addressbook/backends/file/e-book-backend-file.c	Mon Feb 18 09:14:23 2008
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]