diff options
Diffstat (limited to 'src/dhcp.c')
-rwxr-xr-x | src/dhcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -462,11 +462,12 @@ static void lease_available_cb(GDHCPClient *dhcp_client, gpointer user_data) } if (!apply_lease_available_on_network(dhcp_client, dhcp)) - return; + goto done; if (ip_change) dhcp_valid(dhcp); +done: g_free(address); g_free(netmask); g_free(gateway); |