diff options
author | Xan Lopez <xan@igalia.com> | 2013-03-16 21:21:01 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-16 21:21:47 +0800 |
commit | 0a5d0060f7fb508da30040b09d1035aa3f40b2e3 (patch) | |
tree | c8173eb9d87f6f2babe37f04cf3a2f868ec5c30f | |
parent | 45e86f4c6f6922fb0b554c738967b9403bd70ecc (diff) | |
download | gsoc2013-epiphany-0a5d0060f7fb508da30040b09d1035aa3f40b2e3.tar.gz gsoc2013-epiphany-0a5d0060f7fb508da30040b09d1035aa3f40b2e3.tar.zst gsoc2013-epiphany-0a5d0060f7fb508da30040b09d1035aa3f40b2e3.zip |
ephy-session: fix GTask leak
g_task_run_in_thread already refs the task, so we have to unref it
ourselves after calling it.
https://bugzilla.gnome.org/show_bug.cgi?id=695905
-rw-r--r-- | src/ephy-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c index ce136646b..0dd6c056b 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -953,6 +953,7 @@ ephy_session_save (EphySession *session, save_session_in_thread_cb, NULL); g_task_set_task_data (task, data, (GDestroyNotify)save_data_free); g_task_run_in_thread (task, save_session_sync); + g_object_unref (task); } static void |