From a2f46e8495f8e69cb01326064b84296ec565e66e Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sun, 15 Nov 2015 23:08:22 +0100 Subject: [PATCH] network: dhcp6 - fix mem leak from 7a695d8e CID#1338679 --- src/network/networkd-dhcp6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index d407b31..f83ff54 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, -- 2.7.4