aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-07 01:17:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-07 01:40:31 +0800
commit63c518d5469107144ad3c6ba8cc8c4c7f066747e (patch)
treeb5c85da3292502320bfaedc9964b7f293c820792 /libempathy
parent52d8bb2ebe6ef009d2adccbacfb3acbcca0a30c3 (diff)
downloadgsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.tar
gsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.tar.gz
gsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.tar.bz2
gsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.tar.lz
gsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.tar.xz
gsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.tar.zst
gsoc2013-empathy-63c518d5469107144ad3c6ba8cc8c4c7f066747e.zip
hash_job_done: set hash_data->error to NULL when cleaning it
This avoid to try to clean it at second time in hash_data_free (#606220).
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-ft-handler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 7c8033d84..cd1d97ae0 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -820,6 +820,7 @@ hash_job_done (gpointer user_data)
if (hash_data->error != NULL)
{
error = hash_data->error;
+ hash_data->error = NULL;
goto cleanup;
}