]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: add missing sd_netlink_unref()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 20 Jul 2018 02:23:24 +0000 (11:23 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 20 Jul 2018 02:23:24 +0000 (11:23 +0900)
src/network/networkd-manager.c

index 26f896b90a8a3e4e365d96377a19cb70070fce92..7bbb37ade47681beedcc6f6dd25dd7a14d2bad12 100644 (file)
@@ -1474,6 +1474,7 @@ void manager_free(Manager *m) {
         set_free_with_destructor(m->rules_saved, routing_policy_rule_free);
 
         sd_netlink_unref(m->rtnl);
+        sd_netlink_unref(m->genl);
         sd_event_unref(m->event);
 
         sd_resolve_unref(m->resolve);