[gnome-online-accounts/gnome-3-16] imap-smtp: Don't leak the strings
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-16] imap-smtp: Don't leak the strings
- Date: Tue, 3 Mar 2015 18:16:26 +0000 (UTC)
commit a8a818bfb525036a54c5197abe813b68a0c2c5e4
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Mar 3 18:43:36 2015 +0100
imap-smtp: Don't leak the strings
src/goabackend/goaimapsmtpprovider.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaimapsmtpprovider.c b/src/goabackend/goaimapsmtpprovider.c
index 37b7a76..93c3bb8 100644
--- a/src/goabackend/goaimapsmtpprovider.c
+++ b/src/goabackend/goaimapsmtpprovider.c
@@ -1539,6 +1539,7 @@ show_account (GoaProvider *provider,
tmp = g_strconcat (value_str_1, "@", value_str, NULL);
show_label (GTK_WIDGET (grid), row++, _("IMAP"), tmp);
+ g_free (tmp);
}
else
show_label (GTK_WIDGET (grid), row++, _("IMAP"), value_str);
@@ -1553,6 +1554,7 @@ show_account (GoaProvider *provider,
tmp = g_strconcat (value_str_1, "@", value_str, NULL);
show_label (GTK_WIDGET (grid), row++, _("SMTP"), tmp);
+ g_free (tmp);
}
else
show_label (GTK_WIDGET (grid), row++, _("SMTP"), value_str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]