wpa_dbus_dict_close_write() was not called if fill_dict_with_properties() fails and that could result in leaking memory. Fix this in two cases. There might be other missing calls to jouni@codeaurora.org() on error paths, but those will need to be handled separately with more complex changes. Signed-off-by: Jouni Malinen <jouni@codeaurora.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| dbus-wpa_supplicant.conf | ||
| dbus_common.c | ||
| dbus_common.h | ||
| dbus_common_i.h | ||
| dbus_dict_helpers.c | ||
| dbus_dict_helpers.h | ||
| dbus_new.c | ||
| dbus_new.h | ||
| dbus_new_handlers.c | ||
| dbus_new_handlers.h | ||
| dbus_new_handlers_p2p.c | ||
| dbus_new_handlers_p2p.h | ||
| dbus_new_handlers_wps.c | ||
| dbus_new_helpers.c | ||
| dbus_new_helpers.h | ||
| dbus_new_introspect.c | ||
| fi.w1.wpa_supplicant1.service.in | ||
| Makefile | ||