dbus: Fix wpa_supplicant_add_iface() calls
authorJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 11:36:05 +0000 (13:36 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 11:36:05 +0000 (13:36 +0200)
commit2f00ad446e00f9ae349ab5437f9f2b8ec6f543a6
treeb20fc22445c9165d0ca04738c1979ba3d7f30be5
parenta646086d510812d9ba96a7dc51772d4fc340df26
dbus: Fix wpa_supplicant_add_iface() calls

Removed the hack that used typecast to get rid of const by using local
variables that are allocated and freed. Fix couple of memory leaks
and check that the required Ifname parameter is included.
wpa_supplicant/dbus/dbus_handlers.c
wpa_supplicant/dbus/dbus_new_handlers.c