From e442cf1c6b5f22ae3d3b8acb537ebe32d932b676 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 20 May 2009 20:02:03 +0200 Subject: Properly free memory --- libempathy/empathy-ft-handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-ft-handler.c') diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index 3dc790f3f..3698ee4e4 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -844,7 +844,7 @@ again: g_io_scheduler_job_send_to_mainloop_async (job, emit_hashing_progress, hash_data, NULL); - g_slice_free (guchar, hash_data->buffer); + g_slice_free1 (BUFFER_SIZE, hash_data->buffer); hash_data->buffer = NULL; goto again; @@ -1509,4 +1509,4 @@ empathy_ft_handler_is_cancelled (EmpathyFTHandler *handler) priv = GET_PRIV (handler); return g_cancellable_is_cancelled (priv->cancellable); -} \ No newline at end of file +} -- cgit v1.2.3