diff options
author | Milan Crha <mcrha@redhat.com> | 2012-04-23 22:43:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-04-23 22:43:08 +0800 |
commit | 3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7 (patch) | |
tree | 4177727b83f2af82872fac5832546306792ca0ab /plugins | |
parent | e2832731d2594be58d9581075dc25a9845893b1d (diff) | |
download | gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.tar gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.tar.gz gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.tar.bz2 gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.tar.lz gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.tar.xz gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.tar.zst gsoc2013-evolution-3506b02eedc49959bf3e04c7f569ef2b4d8c1ee7.zip |
Fix possible memory leaks of GError structures
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 16f7a21d53..f2e92a0230 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -906,7 +906,7 @@ get_object_with_rid_ready_cb (GObject *source_object, if (g_error_matches (error, E_CLIENT_ERROR, E_CLIENT_ERROR_CANCELLED) || g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) || g_cancellable_is_cancelled (fd->cancellable)) { - g_error_free (error); + g_clear_error (&error); find_cal_update_ui (fd, cal_client); decrease_find_data (fd); return; |