diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-17 10:12:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-17 10:12:30 +0200 |
commit | a45bf10d2939f0261f7dbe7ae5092cc1673ebf66 (patch) | |
tree | 6c607505f76d2883f0b658dfbbb7419ae9b03df0 /src/network/networkd-address.c | |
parent | 999a43f80ac2edfa3881fcf4c42aa1723945fe10 (diff) | |
parent | bd9a722196f7465d2f3104735b7ca9f62ae9a557 (diff) |
Merge pull request #3258 from keszybz/small-networkd-cleanup
Small networkd cleanup
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r-- | src/network/networkd-address.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index 4eb0d927a6..b2de1f9d57 100644 --- a/src/network/networkd-address.c +++ b/src/network/networkd-address.c @@ -404,8 +404,11 @@ int address_get(Link *link, int family, const union in_addr_union *in_addr, unsi return 0; } -int address_remove(Address *address, Link *link, - sd_netlink_message_handler_t callback) { +int address_remove( + Address *address, + Link *link, + sd_netlink_message_handler_t callback) { + _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL; int r; |