diff options
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r-- | src/network/networkd-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 8c461a89e0..7d55142c41 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -1458,7 +1458,7 @@ void manager_free(Manager *m) { m->duids_requesting_uuid = set_free(m->duids_requesting_uuid); while ((network = m->networks)) - network_free(network); + network_unref(network); hashmap_free(m->networks_by_name); m->netdevs = hashmap_free_with_destructor(m->netdevs, netdev_unref); |