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