summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-12-03 09:45:47 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-12-04 11:04:36 +0200
commit747e368f2d22d10b685370a0e430feeed332226f (patch)
treef34c324f1f19fa56842882df39c62a3bb09b5908 /gdhcp
parent89aee32669a4f31b1575e9e3c981d6984ce3512c (diff)
downloadconnman-747e368f2d22d10b685370a0e430feeed332226f.tar.gz
connman-747e368f2d22d10b685370a0e430feeed332226f.tar.bz2
connman-747e368f2d22d10b685370a0e430feeed332226f.zip
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 b023c6dd..13ca442a 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;
}