summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-03-17 20:56:21 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-22 21:04:04 +0100
commit37fb27c85e07cf06a451b674682a36a0207a6875 (patch)
treec6e89bda03b5070f89bb82c614d7ae6724a355db /src/dhcp.c
parent01253f8ec8e5d7e5a6d1d392ff526ccd56fcc5dc (diff)
downloadconnman-37fb27c85e07cf06a451b674682a36a0207a6875.tar.gz
connman-37fb27c85e07cf06a451b674682a36a0207a6875.tar.bz2
connman-37fb27c85e07cf06a451b674682a36a0207a6875.zip
dhcp: Remove unused net string
Diffstat (limited to 'src/dhcp.c')
-rw-r--r--src/dhcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 58198288..d6c27d0f 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -130,7 +130,7 @@ static void lease_available_cb(GDHCPClient *dhcp_client, gpointer user_data)
{
struct connman_dhcp *dhcp = user_data;
GList *list, *option = NULL;
- char *address, *netmask = NULL, *gateway = NULL, *net = NULL;
+ char *address, *netmask = NULL, *gateway = NULL;
char *domainname = NULL, *hostname = NULL;
int ns_entries;
struct connman_ipconfig *ipconfig;
@@ -214,7 +214,6 @@ static void lease_available_cb(GDHCPClient *dhcp_client, gpointer user_data)
g_free(address);
g_free(netmask);
g_free(gateway);
- g_free(net);
g_free(domainname);
g_free(hostname);
}