diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-09 18:05:42 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-10 20:56:37 +0200 |
commit | 31d0ac36c62c9ed9646fb478b9d71cc2ecc3e55c (patch) | |
tree | 336fa0f9f4e5a70c510c430f96b5e714452b4c4c | |
parent | 86e6e5d1b4e78d62d1a45539c1de141bc5e839aa (diff) |
networkd: network - fix leak
-rw-r--r-- | src/network/networkd-network.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index a452096836..5d7ce1ced2 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -257,7 +257,8 @@ int config_parse_netdev(const char *unit, void *data, void *userdata) { Network *network = userdata; - char *kind_string, *p; + _cleanup_free_ char *kind_string = NULL; + char *p; NetDev *netdev; NetDevKind kind; int r; |