[evolution-mapi/gnome-3-6] Bug #694786 - Ref count issue on a book view update
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-3-6] Bug #694786 - Ref count issue on a book view update
- Date: Wed, 27 Feb 2013 13:26:36 +0000 (UTC)
commit 1b0f47be5c507f83c5bc6888c41a3fd8a59370f9
Author: Milan Crha <mcrha redhat com>
Date: Wed Feb 27 14:25:58 2013 +0100
Bug #694786 - Ref count issue on a book view update
src/addressbook/e-book-backend-mapi.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi.c b/src/addressbook/e-book-backend-mapi.c
index 8f5fc28..9ea89fb 100644
--- a/src/addressbook/e-book-backend-mapi.c
+++ b/src/addressbook/e-book-backend-mapi.c
@@ -1594,6 +1594,8 @@ e_book_backend_mapi_notify_contact_update (EBookBackendMAPI *ebma,
it can happen when cache is filling and the book view started later */
if (!book_view)
book_view = ebbm_pick_book_view (ebma);
+ else
+ g_object_ref (book_view);
if (book_view) {
if (!e_book_backend_mapi_book_view_is_running (ebma, book_view))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]