network: dhcp6 - fix mem leak

from 7a695d8e
CID#1338679
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-11-15 23:10:28 +01:00
parent 7ad8eb8d84
commit a2f46e8495
+1 -1
View File
@@ -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,