[evolution-data-server] Bug #725045 - Crash updating Google book's contact with photo



commit e636dd42439a91bf336f56089c4f7c1b70c19487
Author: Milan Crha <mcrha redhat com>
Date:   Thu May 22 11:22:08 2014 +0200

    Bug #725045 - Crash updating Google book's contact with photo

 .../backends/google/e-book-backend-google.c        |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/backends/google/e-book-backend-google.c 
b/addressbook/backends/google/e-book-backend-google.c
index 5dd34ea..d7df7f4 100644
--- a/addressbook/backends/google/e-book-backend-google.c
+++ b/addressbook/backends/google/e-book-backend-google.c
@@ -2057,6 +2057,7 @@ book_backend_google_modify_contacts_sync (EBookBackend *backend,
                g_object_set_data_full (
                        G_OBJECT (new_contact), "photo", photo,
                        (GDestroyNotify) e_contact_photo_free);
+               photo = NULL;
        } else {
                g_object_set_data (
                        G_OBJECT (new_contact), "photo", NULL);


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