aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-15 17:02:45 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:49:57 +0800
commit83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4 (patch)
treef88bc601ed5250b25888ba823efa5884f35ef61e /libempathy/empathy-tp-file.c
parent0a96c62150fe235167c291ead9a4f180fd80109e (diff)
downloadgsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.tar
gsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.tar.gz
gsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.tar.bz2
gsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.tar.lz
gsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.tar.xz
gsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.tar.zst
gsoc2013-empathy-83a1c8e38b10ca0a66adc4f19e78c69f3796c7e4.zip
Don't leak GErrors.
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r--libempathy/empathy-tp-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index a2a999b81..1ca6858ef 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -375,6 +375,7 @@ tp_file_state_changed_cb (TpChannel *proxy,
{
error = error_from_state_change_reason (priv->state_change_reason);
ft_operation_close_with_error (EMPATHY_TP_FILE (weak_object), error);
+ g_clear_error (&error);
}
}