networkd: fix memleak in config_parse_duid_rawdata

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2016-05-05 13:24:03 +02:00
parent 37818090c9
commit 2679936e68
+1 -1
View File
@@ -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) {