[epiphany/wip/ephy-sync: 84/116] Fix finalize seg fault



commit 45dd2d5b6558640400475cde834cca9069ae940b
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Sun Jun 26 22:47:37 2016 +0300

    Fix finalize seg fault

 src/ephy-sync-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-sync-service.c b/src/ephy-sync-service.c
index a5651e4..b3fe702 100644
--- a/src/ephy-sync-service.c
+++ b/src/ephy-sync-service.c
@@ -143,7 +143,7 @@ ephy_sync_service_finalize (GObject *object)
   EphySyncService *self = EPHY_SYNC_SERVICE (object);
 
   g_free (self->user_email);
-  g_clear_object (&self->tokens);
+  g_hash_table_unref (self->tokens);
   g_clear_object (&self->soup_session);
 
   G_OBJECT_CLASS (ephy_sync_service_parent_class)->finalize (object);


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