summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-28 22:29:32 +0100
committerThomas Haller <thaller@redhat.com>2015-01-29 14:59:42 +0100
commit93223112a191319447630f89f77df2449f60aa2c (patch)
treee74c4aa00f1611aa8e1f8f6e8b386ba5874f03b4
parent1c10cc51ff8917c671e90cc7f85838b31d2119b8 (diff)
downloadNetworkManager-93223112a191319447630f89f77df2449f60aa2c.tar.gz
ifcfg-rh: fix memleak in connection_from_file_full()
-rw-r--r--src/settings/plugins/ifcfg-rh/reader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings/plugins/ifcfg-rh/reader.c b/src/settings/plugins/ifcfg-rh/reader.c
index 5b60934608..4e20d35dd9 100644
--- a/src/settings/plugins/ifcfg-rh/reader.c
+++ b/src/settings/plugins/ifcfg-rh/reader.c
@@ -4695,6 +4695,7 @@ connection_from_file_full (const char *filename,
g_free (bootproto);
goto done;
}
+ g_free (bootproto);
type = NULL;