mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
network: fix double free()
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
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();
|
||||
|
||||
Reference in New Issue
Block a user