summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-15 23:08:22 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-15 23:10:28 +0100
commita2f46e8495f8e69cb01326064b84296ec565e66e (patch)
tree4dcaf68f6d6eb37139d76a120ef616140c86444f
parent7ad8eb8d84a53a1dc55411ae1087bd9a2f3b58bf (diff)
network: dhcp6 - fix mem leak
from 7a695d8e CID#1338679
-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,