[evolution-data-server/gnome-3-4] Bug #674696 - Crash from finish_operation, get_groups_cb in Google backend
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-4] Bug #674696 - Crash from finish_operation, get_groups_cb in Google backend
- Date: Wed, 25 Jul 2012 11:15:26 +0000 (UTC)
commit f746a81cc4cb5f6e3c044e5fd7fc2d286d7b49c8
Author: Milan Crha <mcrha redhat com>
Date: Wed Jul 25 13:15:05 2012 +0200
Bug #674696 - Crash from finish_operation, get_groups_cb in Google backend
.../backends/google/e-book-backend-google.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/backends/google/e-book-backend-google.c b/addressbook/backends/google/e-book-backend-google.c
index 34da808..f14ad61 100644
--- a/addressbook/backends/google/e-book-backend-google.c
+++ b/addressbook/backends/google/e-book-backend-google.c
@@ -1041,6 +1041,7 @@ get_groups_cb (GDataService *service,
}
finish_operation (backend, -2, gdata_error);
+ g_object_unref (backend);
g_clear_error (&gdata_error);
}
@@ -1064,6 +1065,8 @@ get_groups (EBookBackend *backend)
gdata_contacts_query_set_show_deleted (GDATA_CONTACTS_QUERY (query), TRUE);
}
+ g_object_ref (backend);
+
/* Run the query asynchronously */
cancellable = start_operation (backend, -2, NULL, _("Querying for updated groupsâ"));
gdata_contacts_service_query_groups_async (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]