[evolution/evolution-3-12] mail_regen_list: Fix a memory leak
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/evolution-3-12] mail_regen_list: Fix a memory leak
- Date: Thu, 13 Nov 2014 09:18:36 +0000 (UTC)
commit 88d00f0103eed573c8d0b7d8a9c7431136c70270
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 43a0750..864e1ec 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -5900,6 +5900,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]