summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-12-03 07:45:47 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-12-04 09:04:36 (GMT)
commit747e368f2d22d10b685370a0e430feeed332226f (patch)
treef34c324f1f19fa56842882df39c62a3bb09b5908 /gdhcp
parent89aee32669a4f31b1575e9e3c981d6984ce3512c (diff)
downloadconnman-747e368f2d22d10b685370a0e430feeed332226f.zip
connman-747e368f2d22d10b685370a0e430feeed332226f.tar.gz
connman-747e368f2d22d10b685370a0e430feeed332226f.tar.bz2
dhcpv6: Memory leak when sending Option Request Option
Diffstat (limited to 'gdhcp')
-rw-r--r--gdhcp/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c
index b023c6d..13ca442 100644
--- a/gdhcp/client.c
+++ b/gdhcp/client.c
@@ -781,6 +781,8 @@ int g_dhcpv6_client_set_oro(GDHCPClient *dhcp_client, int args, ...)
g_dhcpv6_client_set_send(dhcp_client, G_DHCPV6_ORO, values, len);
+ g_free(values);
+
return 0;
}