[gnome-builder] egg-task-cache: Don't leak the GTask used to fetch the value
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] egg-task-cache: Don't leak the GTask used to fetch the value
- Date: Mon, 6 Mar 2017 21:59:53 +0000 (UTC)
commit d87cd3575e848d541d754270b99c024db9cfb630
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 6 17:37:43 2017 +0100
egg-task-cache: Don't leak the GTask used to fetch the value
https://bugzilla.gnome.org/show_bug.cgi?id=779659
contrib/egg/egg-task-cache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/contrib/egg/egg-task-cache.c b/contrib/egg/egg-task-cache.c
index e8c3fff..8b2fa69 100644
--- a/contrib/egg/egg-task-cache.c
+++ b/contrib/egg/egg-task-cache.c
@@ -548,6 +548,7 @@ egg_task_cache_fetch_cb (GObject *object,
}
self->key_destroy_func (key);
+ g_object_unref (task);
EGG_COUNTER_DEC (in_flight);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]