[network-manager-applet/NMA_0_8] applet: fix leak in import/upgrade code
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/NMA_0_8] applet: fix leak in import/upgrade code
- Date: Tue, 29 Mar 2011 20:12:41 +0000 (UTC)
commit c3b96b997444044d00b1c2f384e9db58b09c3fdb
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 6a0697f..4564b4b 100644
--- a/src/gconf-helpers/gconf-upgrade.c
+++ b/src/gconf-helpers/gconf-upgrade.c
@@ -1888,6 +1888,8 @@ nm_gconf_migrate_0_7_ca_cert_ignore (GConfClient *client)
&ignore_ca_cert);
if (ignore_ca_cert)
nm_gconf_set_ignore_ca_cert (uuid, FALSE, TRUE);
+ 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]