[network-manager-applet] editor: fix memory leaks in page-ip{4,6}.c
- From: Beniamino Galvani <bgalvani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] editor: fix memory leaks in page-ip{4,6}.c
- Date: Wed, 4 Jan 2017 13:45:09 +0000 (UTC)
commit ec7d9f619d8dba09a0dd5c288dc8914ca6b94246
Author: Beniamino Galvani <bgalvani redhat com>
Date: Wed Jan 4 14:24:43 2017 +0100
editor: fix memory leaks in page-ip{4,6}.c
src/connection-editor/page-ip4.c | 2 +-
src/connection-editor/page-ip6.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/connection-editor/page-ip4.c b/src/connection-editor/page-ip4.c
index a845df1..fb91808 100644
--- a/src/connection-editor/page-ip4.c
+++ b/src/connection-editor/page-ip4.c
@@ -112,7 +112,7 @@ ip4_private_init (CEPageIP4 *self, NMConnection *connection)
NMSettingConnection *s_con;
const char *connection_type;
char *str_auto = NULL, *str_auto_only = NULL;
- GList *cells;
+ gs_free_list GList *cells = NULL;
builder = CE_PAGE (self)->builder;
diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c
index b591bc0..46985e9 100644
--- a/src/connection-editor/page-ip6.c
+++ b/src/connection-editor/page-ip6.c
@@ -115,7 +115,7 @@ ip6_private_init (CEPageIP6 *self, NMConnection *connection)
NMSettingConnection *s_con;
const char *connection_type;
char *str_auto = NULL, *str_auto_only = NULL;
- GList *cells;
+ gs_free_list GList *cells = NULL;
builder = CE_PAGE (self)->builder;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]