aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2012-08-04 17:10:08 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-04 17:10:08 (GMT)
commit21270bb4b3b40750190aea6aec5933c45fd40643 (patch)
tree4ba9b4099d0c5462af57c5890cfcb7e6f4dcfbd6 /wpa_supplicant/dbus
parent02af9c90fb8589f78ebed43a6f8f58777deaa412 (diff)
downloadhostap-21270bb4b3b40750190aea6aec5933c45fd40643.zip
hostap-21270bb4b3b40750190aea6aec5933c45fd40643.tar.gz
hostap-21270bb4b3b40750190aea6aec5933c45fd40643.tar.bz2
Fix a couple memory leaks
Found using valgrind. Signed-hostap: Paul Stewart <pstew@chromium.org>
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index 8145a70..3f895cf 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -609,6 +609,7 @@ DBusMessage * wpas_dbus_handler_create_interface(DBusMessage *message,
out:
os_free(driver);
os_free(ifname);
+ os_free(confname);
os_free(bridge_ifname);
return reply;