[gtk+/wip/baedert/gtkimageview: 65/118] GtkImageView: Don't unref NULL input stream
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 65/118] GtkImageView: Don't unref NULL input stream
- Date: Thu, 12 May 2016 20:00:49 +0000 (UTC)
commit 39a6a027dac2eb5b17559a5fe93740e60d6b8377
Author: Timm Bäder <mail baedert org>
Date: Mon Jan 25 17:37:36 2016 +0100
GtkImageView: Don't unref NULL input stream
gtk/gtkimageview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkimageview.c b/gtk/gtkimageview.c
index 1cf306f..4bcfbab 100644
--- a/gtk/gtkimageview.c
+++ b/gtk/gtkimageview.c
@@ -1976,7 +1976,7 @@ gtk_image_view_load_image_contents (GTask *task,
if (error)
{
- g_object_unref (in_stream);
+ /* in_stream is NULL */
g_task_return_error (task, error);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]