hostapd: fix potential double free in ubus code
Ensure that the object name is never freed twice Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -1788,6 +1788,7 @@ void hostapd_ubus_free_bss(struct hostapd_data *hapd)
|
||||
}
|
||||
|
||||
free(name);
|
||||
obj->name = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user