[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hk5s8q340.wl%tiwai@suse.de>
Date: Mon, 06 Aug 2007 14:06:23 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Jesper Juhl <jesper.juhl@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Manuel Jander <mjander@...edded.cl>,
alsa-devel@...a-project.org
Subject: Re: [PATCH] au88x0: mem leak fix in snd_vortex_create()
At Sat, 4 Aug 2007 02:09:25 +0200,
Jesper Juhl wrote:
>
> Hi,
>
> In sound/pci/au88x0/au88x0.c::snd_vortex_create() :
> The Coverity checker found that if we allocate storage for 'chip'
> but then leave via the regions_out: label, then we end up leaking
> the storage allocated for 'chip'.
> I believe simply freeing 'chip' before the "return err;" line is
> all we need to fix this, but please double-check me :)
>
>
> Signed-off-by: Jesper Juhl <jesper.juhl@...il.com>
Thanks, applied to ALSA tree now.
Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists