clr ptr after freeing state to avoid subsequent null ptr deref
(on vendor branch since this change already exists in Jouni's cvs). Approved by: re (scottl)
This commit is contained in:
parent
1c3c13af99
commit
a593614af4
@ -1000,6 +1000,7 @@ void wpa_supplicant_event(struct wpa_supplicant *wpa_s, wpa_event_type event,
|
||||
wpa_s->interface_removed = 1;
|
||||
wpa_supplicant_mark_disassoc(wpa_s);
|
||||
l2_packet_deinit(wpa_s->l2);
|
||||
wpa_s->l2 = NULL;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user