Wireless Daemon for Linux
 help / color / mirror / Atom feed
* [PATCH 1/2] dpp: free nl80211 object on exit
@ 2022-01-19 23:04 James Prestwood
  0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2022-01-19 23:04 UTC (permalink / raw)
  To: iwd 

[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

---
 src/dpp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/dpp.c b/src/dpp.c
index 78e8ffc5..6889bef9 100644
--- a/src/dpp.c
+++ b/src/dpp.c
@@ -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);
 }
 
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] dpp: free nl80211 object on exit
@ 2022-01-19 23:17 Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-01-19 23:17 UTC (permalink / raw)
  To: iwd 

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

Hi James,

On 1/19/22 17:04, James Prestwood wrote:
> ---
>   src/dpp.c | 3 +++
>   1 file changed, 3 insertions(+)

Both applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-19 23:04 [PATCH 1/2] dpp: free nl80211 object on exit James Prestwood
  -- strict thread matches above, loose matches on Subject: below --
2022-01-19 23:17 Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox