From 85938c27e36d86e36f795cb0fdcd768e754ea397 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 31 Dec 2010 11:57:13 +0200 Subject: [PATCH] memoryleak: dhcp_client is already referenced when created --- plugins/dhcp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/dhcp.c b/plugins/dhcp.c index 5fe99d7..54306ed 100644 --- a/plugins/dhcp.c +++ b/plugins/dhcp.c @@ -191,8 +191,6 @@ static int dhcp_request(struct connman_dhcp *dhcp) connman_dhcp_set_data(dhcp, dhcp_client); - g_dhcp_client_ref(dhcp_client); - return g_dhcp_client_start(dhcp_client); } -- 2.7.4