mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
manager: Make sure pending_wiphys remains NULL on error
This commit is contained in:
parent
2d8d47c9dd
commit
cc2d4f97e2
@ -643,6 +643,8 @@ static int manager_init(void)
|
||||
|
||||
error:
|
||||
l_queue_destroy(pending_wiphys, NULL);
|
||||
pending_wiphys = NULL;
|
||||
|
||||
l_genl_family_free(nl80211);
|
||||
nl80211 = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user