diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-17 20:56:21 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-22 21:04:04 +0100 |
commit | 37fb27c85e07cf06a451b674682a36a0207a6875 (patch) | |
tree | c6e89bda03b5070f89bb82c614d7ae6724a355db /src/dhcp.c | |
parent | 01253f8ec8e5d7e5a6d1d392ff526ccd56fcc5dc (diff) | |
download | connman-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } |