[network-manager-applet] applet: fix leak in import/upgrade code
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] applet: fix leak in import/upgrade code
- Date: Tue, 29 Mar 2011 21:00:24 +0000 (UTC)
commit f176a7ae219636681591fa7a7aff15314ad16405
Author: Dan Williams <dcbw redhat com>
Date: Mon Mar 28 23:48:48 2011 -0500
applet: fix leak in import/upgrade code
src/gconf-helpers/gconf-upgrade.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gconf-helpers/gconf-upgrade.c b/src/gconf-helpers/gconf-upgrade.c
index a313b80..44633f1 100644
--- a/src/gconf-helpers/gconf-upgrade.c
+++ b/src/gconf-helpers/gconf-upgrade.c
@@ -1897,6 +1897,8 @@ nm_gconf_migrate_0_7_ca_cert_ignore (GConfClient *client)
&ignore_ca_cert);
if (ignore_ca_cert)
_set_ignore_ca_cert (client, uuid, FALSE);
+ g_free (uuid);
+
/* delete old key */
unset_one_setting_property (client, dir,
NM_SETTING_802_1X_SETTING_NAME,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]