[gdk-pixbuf] animation: drop an erroneous unref
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] animation: drop an erroneous unref
- Date: Sat, 19 Sep 2015 19:37:01 +0000 (UTC)
commit 5d6c69598f2afa36ae0186fc9f4918630c282cf0
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 19 15:34:59 2015 -0400
animation: drop an erroneous unref
The task thread function does not own a reference to the task
and thus should not unref it.
https://bugzilla.gnome.org/show_bug.cgi?id=755269
gdk-pixbuf/gdk-pixbuf-animation.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 191335a..f273b56 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -413,8 +413,6 @@ animation_new_from_stream_thread (GTask *task,
} else {
g_task_return_pointer (task, animation, g_object_unref);
}
-
- g_object_unref (task);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]