Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Harin Lee <me@harin.net>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	Harin Lee <me@harin.net>
Subject: [PATCH 0/1] ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers
Date: Thu,  1 Oct 2026 23:45:00 +0900	[thread overview]
Message-ID: <20261001144501.3050667-1-me@harin.net> (raw)

I fixed the memory leakage in dao_clear_input() and successfully
tested this patch on an AMD64 system with an OK0010 card and KASAN
enabled.

However, actually I could not find any evidence for why the original
commit mistakenly removed the kfree() calls.

Please feel free to drop this patch when this change looks like it
has not been verified yet.

Harin Lee (1):
  ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers

 sound/pci/ctxfi/ctdaio.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.55.0


             reply	other threads:[~2026-10-01 14:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01 14:45 Harin Lee [this message]
2026-10-01 14:45 ` [PATCH 1/1] ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers Harin Lee
2026-10-03  9:15   ` Takashi Iwai

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=20261001144501.3050667-1-me@harin.net \
    --to=me@harin.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /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