[evolution] mail_regen_list: Fix a memory leak
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] mail_regen_list: Fix a memory leak
- Date: Thu, 13 Nov 2014 09:12:33 +0000 (UTC)
commit d540ee82ec68d15a5110a4149fc94ec9f3d7b67b
Author: Milan Crha <mcrha redhat com>
Date: Thu Nov 13 10:12:06 2014 +0100
mail_regen_list: Fix a memory leak
mail/message-list.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mail/message-list.c b/mail/message-list.c
index e8fbd82..db70ec3 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -5911,6 +5911,7 @@ mail_regen_list (MessageList *message_list,
g_strfreev (message_list->priv->re_prefixes);
prefixes = g_settings_get_string (message_list->priv->mail_settings, "composer-localized-re");
message_list->priv->re_prefixes = g_strsplit (prefixes ? prefixes : "", ",", -1);
+ g_free (prefixes);
g_mutex_unlock (&message_list->priv->re_prefixes_lock);
g_mutex_lock (&message_list->priv->regen_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]