summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-09-19 15:34:59 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-09-19 15:34:59 -0400
commit5d6c69598f2afa36ae0186fc9f4918630c282cf0 (patch)
tree8896799bbb2453de0c3949578db186f616f0d41c
parent65ec7f34bc73fa3b977ff40c52ff57e947b0a41a (diff)
downloadgdk-pixbuf-5d6c69598f2afa36ae0186fc9f4918630c282cf0.tar.gz
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
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 191335a9d..f273b5621 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);
}
/**