aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-21 02:02:03 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:53:22 +0800
commite442cf1c6b5f22ae3d3b8acb537ebe32d932b676 (patch)
treea3ed9d5d3a342e0778d9026aae6cad5e95eec645
parentc23cff9fadeae104feff7c19764bafaff78cfbd6 (diff)
downloadgsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.tar
gsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.tar.gz
gsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.tar.bz2
gsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.tar.lz
gsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.tar.xz
gsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.tar.zst
gsoc2013-empathy-e442cf1c6b5f22ae3d3b8acb537ebe32d932b676.zip
Properly free memory
-rw-r--r--libempathy/empathy-ft-handler.c4
1 files changed, 2 insertions, 2 deletions
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
+}