dbus: Fix a NULL pointer dereference on error path
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 10 Nov 2009 16:08:55 +0000 (18:08 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2009 16:08:55 +0000 (18:08 +0200)
commit4f93ab0ffca778212c5996f10515a7481c8cfd56
treeaa9c3afc3c782c2e25e3384858cd9ee49b5e9b8a
parenta1641d267143b8f1429e46bc9cee0f7eb368cd91
dbus: Fix a NULL pointer dereference on error path

The cleanup routine in the end would have dereferenced props pointer
which could be NULL. There is no need to go through that cleanup code
in this case, so just exit from the function with return instead.
wpa_supplicant/ctrl_iface_dbus_new_handlers.c