mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
D-Bus: Fix a memory leak in DeleteService handler
If the service_type string entry is not included, the dict entry was not cleared. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b723b25926
commit
0607346f12
@ -2705,8 +2705,9 @@ DBusMessage * wpas_dbus_handler_p2p_delete_service(
|
||||
bonjour = 1;
|
||||
else
|
||||
goto error_clear;
|
||||
wpa_dbus_dict_entry_clear(&entry);
|
||||
}
|
||||
|
||||
wpa_dbus_dict_entry_clear(&entry);
|
||||
}
|
||||
if (upnp == 1) {
|
||||
while (wpa_dbus_dict_has_dict_entry(&iter_dict)) {
|
||||
|
Loading…
Reference in New Issue
Block a user