[evolution-ews] Fix leak of 'file' in camel_ews_store_summary_save()
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix leak of 'file' in camel_ews_store_summary_save()
- Date: Sat, 13 Aug 2011 23:55:55 +0000 (UTC)
commit 4a90b0c1a8d57c18addaad3332eb5adfee878e99
Author: David Woodhouse <David Woodhouse intel com>
Date: Sun Aug 14 00:19:48 2011 +0100
Fix leak of 'file' in camel_ews_store_summary_save()
src/camel/camel-ews-store-summary.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-ews-store-summary.c b/src/camel/camel-ews-store-summary.c
index 0b65a3c..678c5a6 100644
--- a/src/camel/camel-ews-store-summary.c
+++ b/src/camel/camel-ews-store-summary.c
@@ -203,6 +203,7 @@ camel_ews_store_summary_save (CamelEwsStoreSummary *ews_summary,
ret = g_file_replace_contents (file, contents, strlen (contents),
NULL, FALSE, G_FILE_CREATE_PRIVATE,
NULL, NULL, error);
+ g_object_unref (file);
priv->dirty = FALSE;
exit:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]