[network-manager-applet] applet: fix memory leak in activate_vpn_cb()
- From: Beniamino Galvani <bgalvani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] applet: fix memory leak in activate_vpn_cb()
- Date: Mon, 10 Apr 2017 09:11:43 +0000 (UTC)
commit 7d15649507889da8fe5e234664e0b7fde45201d6
Author: Beniamino Galvani <bgalvani redhat com>
Date: Mon Apr 10 10:51:43 2017 +0200
applet: fix memory leak in activate_vpn_cb()
src/applet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index dda7311..921dcf2 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1034,6 +1034,7 @@ activate_vpn_cb (GObject *client,
PREF_DISABLE_VPN_NOTIFICATIONS);
g_warning ("VPN Connection activation failed: (%s) %s", name, error->message);
g_free (msg);
+ g_free (name);
g_error_free (error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]