diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-07 01:17:39 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-07 01:40:31 +0800 |
commit | 63c518d5469107144ad3c6ba8cc8c4c7f066747e (patch) | |
tree | b5c85da3292502320bfaedc9964b7f293c820792 | |
parent | 52d8bb2ebe6ef009d2adccbacfb3acbcca0a30c3 (diff) | |
download | gsoc2013-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).
-rw-r--r-- | 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 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; } |