3
0
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:
Denis Kenzior 2019-10-11 15:41:16 -05:00
parent 2d8d47c9dd
commit cc2d4f97e2

View File

@ -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;