3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

dpp: free nl80211 object on exit

This commit is contained in:
James Prestwood 2022-01-19 15:04:51 -08:00 committed by Denis Kenzior
parent c3b18c44e0
commit f70c0cb2f9

View File

@ -1931,6 +1931,9 @@ static void dpp_exit(void)
l_genl_family_unregister(nl80211, mlme_watch);
mlme_watch = 0;
l_genl_family_free(nl80211);
nl80211 = NULL;
l_queue_destroy(dpp_list, (l_queue_destroy_func_t) dpp_free);
}