From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
To: iwd@lists.01.org
Subject: [PATCH 2/2] ap: update for new _auto_ destructors
Date: Fri, 14 May 2021 18:34:14 +0200 [thread overview]
Message-ID: <20210514163414.304860-2-Marc-Antoine@Perennou.com> (raw)
In-Reply-To: <20210514163414.304860-1-Marc-Antoine@Perennou.com>
[-- Attachment #1: Type: text/plain, Size: 548 bytes --]
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
---
src/ap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ap.c b/src/ap.c
index 7eac07d7..82bdf34d 100644
--- a/src/ap.c
+++ b/src/ap.c
@@ -3298,7 +3298,7 @@ static struct l_dbus_message *ap_dbus_start_profile(struct l_dbus *dbus,
{
struct ap_if_data *ap_if = user_data;
const char *ssid;
- _auto_(l_settings_free) struct l_settings *config = NULL;
+ _auto_(l_settings) config = NULL;
char *config_path;
int err;
--
2.30.0
next prev parent reply other threads:[~2021-05-14 16:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-14 16:34 [PATCH 1/2] eap: avoid nested functions Marc-Antoine Perennou
2021-05-14 16:34 ` Marc-Antoine Perennou [this message]
2021-05-14 16:35 ` [PATCH 2/2] ap: update for new _auto_ destructors keruspe+ml01
2021-05-17 15:42 ` [PATCH 1/2] eap: avoid nested functions 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=20210514163414.304860-2-Marc-Antoine@Perennou.com \
--to=marc-antoine@perennou.com \
--cc=iwd@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.