Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Cc: perex@perex.cz, tiwai@suse.com, thierry.reding@gmail.com,
	jonathanh@nvidia.com, mkumard@nvidia.com, ddadap@nvidia.com,
	sheetal@nvidia.com, linux-sound@vger.kernel.org,
	linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/tegra: fix a memory leak in hda_tegra_first_init()
Date: Wed, 31 Dec 2025 16:42:05 +0100	[thread overview]
Message-ID: <87fr8qy7xu.wl-tiwai@suse.de> (raw)
In-Reply-To: <20251228140530.3739960-1-lihaoxiang@isrc.iscas.ac.cn>

On Sun, 28 Dec 2025 15:05:30 +0100,
Haoxiang Li wrote:
> 
> Add azx_free_stream_pages() to release the resources allocated
> by azx_alloc_stream_pages().

It'll be already called later at the destructor hda_tegra_dev_free()
callback, so this change would be rather superfluous or harmful.


thanks,

Takashi

      parent reply	other threads:[~2025-12-31 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-28 14:05 [PATCH] ALSA: hda/tegra: fix a memory leak in hda_tegra_first_init() Haoxiang Li
2025-12-29 13:23 ` Markus Elfring
2025-12-31 15:42 ` Takashi Iwai [this message]

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=87fr8qy7xu.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=ddadap@nvidia.com \
    --cc=jonathanh@nvidia.com \
    --cc=lihaoxiang@isrc.iscas.ac.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mkumard@nvidia.com \
    --cc=perex@perex.cz \
    --cc=sheetal@nvidia.com \
    --cc=thierry.reding@gmail.com \
    --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