mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
parent
f19ee68140
commit
744faf5e4e
@ -92,9 +92,11 @@ void prefix_free(Prefix *prefix) {
|
||||
assert(prefix->network->n_static_prefixes > 0);
|
||||
prefix->network->n_static_prefixes--;
|
||||
|
||||
if (prefix->section)
|
||||
if (prefix->section) {
|
||||
hashmap_remove(prefix->network->prefixes_by_section,
|
||||
prefix->section);
|
||||
network_config_section_free(prefix->section);
|
||||
}
|
||||
}
|
||||
|
||||
prefix->radv_prefix = sd_radv_prefix_unref(prefix->radv_prefix);
|
||||
|
Loading…
x
Reference in New Issue
Block a user