summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-11-16 12:00:20 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-11-16 12:00:20 +0100
commitf56e49a989021ca0ea2132b30bed1ec315a139db (patch)
treeff6a16cbd1be0b0285d153e1302d0ee30d2d0bbd
parentd6ab08f6228cf8b28ef15ec8abbd1bb1154db21c (diff)
parenta2f46e8495f8e69cb01326064b84296ec565e66e (diff)
Merge pull request #1908 from phomes/network-memleak
network: dhcp6 - fix mem leak
-rw-r--r--src/network/networkd-dhcp6.c2
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,