diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2016-05-05 13:17:09 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2016-05-05 13:24:03 +0200 |
commit | 2679936e6881625a9a95a451b2e4d51092b8ae38 (patch) | |
tree | 84e538a8e507143e106d0b7c2f78ef6b59b37c19 /src/network/networkd-conf.c | |
parent | 37818090c99871577c0cfd8171901eb7e2050be9 (diff) |
networkd: fix memleak in config_parse_duid_rawdata
Diffstat (limited to 'src/network/networkd-conf.c')
-rw-r--r-- | src/network/networkd-conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-conf.c b/src/network/networkd-conf.c index 6072c1e2de..b67a1f6d09 100644 --- a/src/network/networkd-conf.c +++ b/src/network/networkd-conf.c @@ -70,7 +70,7 @@ int config_parse_duid_rawdata( for (;;) { int n1, n2, len, r; uint32_t byte; - char *cbyte; + _cleanup_free_ char *cbyte = NULL; r = extract_first_word(&rvalue, &cbyte, ":", 0); if (r < 0) { |