From: James Prestwood <prestwoj at gmail.com>
To: iwd at lists.01.org
Subject: [PATCH 1/2] dpp: free nl80211 object on exit
Date: Wed, 19 Jan 2022 15:04:51 -0800 [thread overview]
Message-ID: <20220119230452.2306995-1-prestwoj@gmail.com> (raw)
[-- 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
next reply other threads:[~2022-01-19 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 23:04 James Prestwood [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-19 23:17 [PATCH 1/2] dpp: free nl80211 object on exit Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220119230452.2306995-1-prestwoj@gmail.com \
--to=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox