Ensure that the object name is never freed twice Signed-off-by: Felix Fietkau <[email protected]>
@@ -1788,6 +1788,7 @@ void hostapd_ubus_free_bss(struct hostapd_data *hapd)
}
free(name);
+ obj->name = NULL;
static void