[epiphany/wip/sync: 16/19] sync-service: Fix unref in _download_synchronizable()



commit d3872ec50a91ba59c3e27cb662bac84e6b44a542
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Wed Apr 12 16:46:38 2017 +0300

    sync-service: Fix unref in _download_synchronizable()

 src/sync/ephy-sync-service.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/sync/ephy-sync-service.c b/src/sync/ephy-sync-service.c
index a8ff3c7..940ee38 100644
--- a/src/sync/ephy-sync-service.c
+++ b/src/sync/ephy-sync-service.c
@@ -1506,8 +1506,6 @@ download_synchronizable_cb (SoupSession *session,
   if (!is_deleted) {
     ephy_synchronizable_manager_add (data->manager, synchronizable);
     LOG ("Successfully downloaded from server");
-  } else {
-    g_object_unref (synchronizable);
   }
 
   g_object_unref (synchronizable);


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