diff options
author | taesub kim <taesub.kim@samsung.com> | 2015-12-23 18:37:45 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2015-12-23 18:37:45 -0800 |
commit | 8769e464f3fb7608e7429ef59d24856eadc0240a (patch) | |
tree | fe27704efc59b8edc644b839564b34505824ed54 /src | |
parent | dcd2baa12a64c02e214ef872854dbd631389950b (diff) | |
parent | 6bcba613d63d3ecc7d70c1e0a67b64e427a6e62b (diff) | |
download | connman-8769e464f3fb7608e7429ef59d24856eadc0240a.tar.gz connman-8769e464f3fb7608e7429ef59d24856eadc0240a.tar.bz2 connman-8769e464f3fb7608e7429ef59d24856eadc0240a.zip |
Merge "Fixed various memory leak issues" into tizen
Diffstat (limited to 'src')
-rwxr-xr-x | src/dhcp.c | 3 | ||||
-rwxr-xr-x | src/service.c | 2 |
2 files changed, 4 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); diff --git a/src/service.c b/src/service.c index adbb1bce..daf1a47f 100755 --- a/src/service.c +++ b/src/service.c @@ -680,6 +680,8 @@ static int service_load(struct connman_service *service) connman_network_set_blob(service->network, "WiFi.SSID", ssid, hex_ssid_len / 2); + + g_free(ssid); } g_free(hex_ssid); |