[evolution-data-server] [Maildir] Correct double free when the source message file doesn't exist
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] [Maildir] Correct double free when the source message file doesn't exist
- Date: Fri, 5 Jan 2018 09:35:56 +0000 (UTC)
commit e9d9931f8e10587e36d57a25ff2d6649b34c0e89
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 5 10:34:30 2018 +0100
[Maildir] Correct double free when the source message file doesn't exist
Not a usual thing, it might happen when the background directory changes
without Camel's intervention, but still valid.
src/camel/providers/local/camel-maildir-summary.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/providers/local/camel-maildir-summary.c
b/src/camel/providers/local/camel-maildir-summary.c
index 6e4e393..36fd3c1 100644
--- a/src/camel/providers/local/camel-maildir-summary.c
+++ b/src/camel/providers/local/camel-maildir-summary.c
@@ -872,7 +872,6 @@ maildir_summary_sync (CamelLocalSummary *cls,
}
if (g_stat (dest, &st) == -1) {
/* we'll assume it didn't work, but dont change anything else */
- g_free (newname);
} else {
/* TODO: If this is made mt-safe, then this code could be a problem,
since
* the estrv is being modified.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]