[balsa/gtk3] Fix mem leak on error
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Fix mem leak on error
- Date: Mon, 16 Jul 2012 01:51:46 +0000 (UTC)
commit 598ef23b4647e69f327efac8c4175b3b4a70f3d0
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Jul 15 19:55:56 2012 -0400
Fix mem leak on error
* src/folder-conf.c (folder_conf_imap_sub_node): fix mem leak
on error.
ChangeLog | 5 +++++
src/folder-conf.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0eefaeb..8bf286b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-07-15 Albrecht DreÃ
+ * src/folder-conf.c (folder_conf_imap_sub_node): fix mem leak
+ on error.
+
+2012-07-15 Albrecht DreÃ
+
* src/balsa-index.c (bndx_start_pipe_messages_array): fix mem
leak on error.
diff --git a/src/folder-conf.c b/src/folder-conf.c
index ed66fdc..d8d752f 100644
--- a/src/folder-conf.c
+++ b/src/folder-conf.c
@@ -778,6 +778,7 @@ folder_conf_imap_sub_node(BalsaMailboxNode * mn)
balsa_information(LIBBALSA_INFORMATION_ERROR,
_("An IMAP folder that is not a mailbox\n"
"has no properties that can be changed."));
+ g_free(sdd);
return;
}
sdd->parent = mn->parent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]