[gtk+/wip/baedert/gtkimageview: 41/118] GtkImageView: Don't g_free slice data
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 41/118] GtkImageView: Don't g_free slice data
- Date: Thu, 12 May 2016 19:58:48 +0000 (UTC)
commit 8ed4bb8565e06cb0b20f86c23b2abc101d1288bb
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]