diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2015-11-16 12:00:20 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2015-11-16 12:00:20 +0100 |
commit | f56e49a989021ca0ea2132b30bed1ec315a139db (patch) | |
tree | ff6a16cbd1be0b0285d153e1302d0ee30d2d0bbd | |
parent | d6ab08f6228cf8b28ef15ec8abbd1bb1154db21c (diff) | |
parent | a2f46e8495f8e69cb01326064b84296ec565e66e (diff) |
Merge pull request #1908 from phomes/network-memleak
network: dhcp6 - fix mem leak
-rw-r--r-- | src/network/networkd-dhcp6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index d407b31b78..f83ff54369 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -221,7 +221,7 @@ int dhcp6_configure(Link *link) { r = sd_dhcp6_client_set_information_request(client, true); if (r < 0) - return r; + goto error; r = sd_dhcp6_client_set_mac(client, (const uint8_t *) &link->mac, |