[gedit] Missing g_slice_free in file browser plugin



commit 65641ac35bf0f53a633b90cf5e5a018e2c2cb007
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Mon May 10 22:05:04 2010 +0200

    Missing g_slice_free in file browser plugin

 plugins/filebrowser/gedit-file-browser-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-store.c b/plugins/filebrowser/gedit-file-browser-store.c
index 458ef20..3c3ceba 100644
--- a/plugins/filebrowser/gedit-file-browser-store.c
+++ b/plugins/filebrowser/gedit-file-browser-store.c
@@ -3484,7 +3484,7 @@ async_data_free (AsyncData *data)
 	if (!data->removed)
 		data->model->priv->async_handles = g_slist_remove (data->model->priv->async_handles, data);
 	
-	g_free (data);
+	g_slice_free (AsyncData, data);
 }
 
 static gboolean



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