[epiphany/wip/sync: 18/31] sync-service: Fix unref in _download_synchronizable()
- From: Gabriel Ivașcu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/sync: 18/31] sync-service: Fix unref in _download_synchronizable()
- Date: Fri, 14 Apr 2017 15:53:04 +0000 (UTC)
commit 54b6fe24074d3ba8f2b1d4285e44fe53c400361f
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]