mirror of
https://github.com/systemd/systemd
synced 2024-10-07 08:40:44 +00:00
network: fix double free()
This commit is contained in:
parent
e681a2ee4d
commit
3db7d5d2bf
|
@ -322,7 +322,7 @@ int config_parse_dhcp_send_option(
|
|||
return 0;
|
||||
}
|
||||
|
||||
free(word);
|
||||
word = mfree(word);
|
||||
r = extract_first_word(&p, &word, ":", 0);
|
||||
if (r == -ENOMEM)
|
||||
return log_oom();
|
||||
|
|
Loading…
Reference in a new issue