From 63c518d5469107144ad3c6ba8cc8c4c7f066747e Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 6 Jan 2010 17:17:39 +0000 Subject: 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). --- libempathy/empathy-ft-handler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy') 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; } -- cgit v1.2.3