mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-18 09:10:38 +01:00
dpp: free nl80211 object on exit
This commit is contained in:
parent
c3b18c44e0
commit
f70c0cb2f9
@ -1931,6 +1931,9 @@ static void dpp_exit(void)
|
|||||||
l_genl_family_unregister(nl80211, mlme_watch);
|
l_genl_family_unregister(nl80211, mlme_watch);
|
||||||
mlme_watch = 0;
|
mlme_watch = 0;
|
||||||
|
|
||||||
|
l_genl_family_free(nl80211);
|
||||||
|
nl80211 = NULL;
|
||||||
|
|
||||||
l_queue_destroy(dpp_list, (l_queue_destroy_func_t) dpp_free);
|
l_queue_destroy(dpp_list, (l_queue_destroy_func_t) dpp_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user