aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 11:43:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 11:43:48 +0800
commit053aaed67844350a105290c6e658b59685b1768e (patch)
tree5fa7dd08ef98a0c114c053b2cc94d694e660d872
parent5b1742b202ca9505ccd818918b4afe82fc61b63b (diff)
downloadgsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.tar
gsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.tar.gz
gsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.tar.bz2
gsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.tar.lz
gsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.tar.xz
gsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.tar.zst
gsoc2013-evolution-053aaed67844350a105290c6e658b59685b1768e.zip
mdn: Fix a runtime warning.
-rw-r--r--modules/mdn/evolution-mdn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mdn/evolution-mdn.c b/modules/mdn/evolution-mdn.c
index b037fc36c3..a3d14b7258 100644
--- a/modules/mdn/evolution-mdn.c
+++ b/modules/mdn/evolution-mdn.c
@@ -567,10 +567,10 @@ mdn_message_loaded_cb (EMailReader *reader,
g_object_unref (source);
exit:
- g_clear_object (&folder);
-
if (info != NULL)
camel_folder_free_message_info (folder, info);
+
+ g_clear_object (&folder);
g_free (notify_to);
}
@@ -627,10 +627,10 @@ mdn_message_seen_cb (EMailReader *reader,
g_object_unref (source);
exit:
- g_clear_object (&folder);
-
if (info != NULL)
camel_folder_free_message_info (folder, info);
+
+ g_clear_object (&folder);
g_free (notify_to);
}