* [PATCH BlueZ] avdtp: fix possible minor problems
@ 2022-06-29 12:46 lishengyu
2022-06-29 13:55 ` [BlueZ] " bluez.test.bot
2022-06-30 20:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: lishengyu @ 2022-06-29 12:46 UTC (permalink / raw)
To: linux-bluetooth; +Cc: lishengyu
It should always be considered that if send_request fails, sep
should be removed from the list and the requested memory freed;
---
profiles/audio/avdtp.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 0d2213ea2..10ef380d4 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -2765,8 +2765,11 @@ static gboolean avdtp_discover_resp(struct avdtp *session,
ret = send_request(session, TRUE, NULL, getcap_cmd,
&req, sizeof(req));
- if (ret < 0)
+ if (ret < 0) {
+ session->seps = g_slist_remove(session->seps, sep);
+ g_free(sep);
break;
+ }
getcap_pending = TRUE;
}
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ] avdtp: fix possible minor problems
2022-06-29 12:46 [PATCH BlueZ] avdtp: fix possible minor problems lishengyu
@ 2022-06-29 13:55 ` bluez.test.bot
2022-06-30 20:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2022-06-29 13:55 UTC (permalink / raw)
To: linux-bluetooth, lishengyu
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=655015
---Test result---
Test Summary:
CheckPatch PASS 1.19 seconds
GitLint PASS 0.87 seconds
Prep - Setup ELL PASS 44.14 seconds
Build - Prep PASS 0.54 seconds
Build - Configure PASS 8.63 seconds
Build - Make PASS 1434.45 seconds
Make Check PASS 11.55 seconds
Make Check w/Valgrind PASS 450.88 seconds
Make Distcheck PASS 240.18 seconds
Build w/ext ELL - Configure PASS 8.66 seconds
Build w/ext ELL - Make PASS 1419.52 seconds
Incremental Build with patchesPASS 0.00 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ] avdtp: fix possible minor problems
2022-06-29 12:46 [PATCH BlueZ] avdtp: fix possible minor problems lishengyu
2022-06-29 13:55 ` [BlueZ] " bluez.test.bot
@ 2022-06-30 20:40 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2022-06-30 20:40 UTC (permalink / raw)
To: lishengyu; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Wed, 29 Jun 2022 20:46:56 +0800 you wrote:
> It should always be considered that if send_request fails, sep
> should be removed from the list and the requested memory freed;
> ---
> profiles/audio/avdtp.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Here is the summary with links:
- [BlueZ] avdtp: fix possible minor problems
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=44658fccacda
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-30 20:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 12:46 [PATCH BlueZ] avdtp: fix possible minor problems lishengyu
2022-06-29 13:55 ` [BlueZ] " bluez.test.bot
2022-06-30 20:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
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.