mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-03-31 06:56:52 +02: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:
|
error:
|
||||||
l_queue_destroy(pending_wiphys, NULL);
|
l_queue_destroy(pending_wiphys, NULL);
|
||||||
|
pending_wiphys = NULL;
|
||||||
|
|
||||||
l_genl_family_free(nl80211);
|
l_genl_family_free(nl80211);
|
||||||
nl80211 = NULL;
|
nl80211 = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user