diff options
author | Tomasz Bursztyka <tomasz.bursztyka@nokia.com> | 2011-01-10 12:16:23 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-10 11:43:55 +0100 |
commit | 48de4396d54100e9b91cf84b903a72af1d3c9dc3 (patch) | |
tree | 58d61eb7e89834194ac5e0e1d8f9a8c77465960d /gsupplicant | |
parent | 8426e2974fb672f9f5651cd7d4aec6581aa76304 (diff) | |
download | connman-48de4396d54100e9b91cf84b903a72af1d3c9dc3.tar.gz connman-48de4396d54100e9b91cf84b903a72af1d3c9dc3.tar.bz2 connman-48de4396d54100e9b91cf84b903a72af1d3c9dc3.zip |
wifi: Stack based crash risk fixed
Diffstat (limited to 'gsupplicant')
-rw-r--r-- | gsupplicant/supplicant.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index e7c9f88a..cbbe95c0 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -2149,6 +2149,7 @@ static void interface_select_network_result(const char *error, SUPPLICANT_DBG(""); + g_free(data->ssid); dbus_free(data); } @@ -2191,6 +2192,7 @@ static void interface_add_network_result(const char *error, error: g_free(interface->network_path); interface->network_path = NULL; + g_free(data->ssid); g_free(data); } |