[empathy] hash_job_done: set hash_data->error to NULL when cleaning it
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] hash_job_done: set hash_data->error to NULL when cleaning it
- Date: Wed, 6 Jan 2010 17:40:40 +0000 (UTC)
commit 63c518d5469107144ad3c6ba8cc8c4c7f066747e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jan 6 17:17:39 2010 +0000
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 7c8033d..cd1d97a 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]