[gtk+/wip/baedert/gtkimageview: 551/625] GtkImageView: Don't g_free slice data



commit 31faf0ff59858fcb18ee1c2a6bfb7d0677fefe8d
Author: Timm Bäder <mail baedert org>
Date:   Fri Jan 22 17:38:35 2016 +0100

    GtkImageView: Don't g_free slice data

 gtk/gtkimageview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkimageview.c b/gtk/gtkimageview.c
index 322968d..49b1b39 100644
--- a/gtk/gtkimageview.c
+++ b/gtk/gtkimageview.c
@@ -1978,7 +1978,7 @@ gtk_image_view_load_image_contents (GTask        *task,
 
   if (error)
     {
-      g_free (data);
+      g_slice_free (LoadTaskData, data);
       g_task_return_error (task, error);
       return;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]