mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pekka J Enberg" <penberg@cs.helsinki.fi>
To: Takashi Iwai <tiwai@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ALSA: Remove subsystem-specific malloc (7/8)
Date: Wed, 09 Jun 2004 12:59:05 +0300	[thread overview]
Message-ID: <courier.40C6DF69.00003420@courier.cs.helsinki.fi> (raw)
In-Reply-To: <s5hr7sp14i7.wl@alsa2.suse.de>

Hi, 

At Wed, 9 Jun 2004 00:25:08 +0300, Pekka J Enberg wrote:
> > --- linux-2.6.6/sound/arm/sa11xx-uda1341.c	2004-06-08 23:57:25.623550760 +0300
> > +++ alsa-2.6.6/sound/arm/sa11xx-uda1341.c	2004-06-05 20:30:06.000000000 +0300
> > @@ -1010,6 +1010,7 @@ static int __init sa11xx_uda1341_init(vo
> >  static void __exit sa11xx_uda1341_exit(void)
> >  {
> >  	snd_card_free(sa11xx_uda1341->card);
> > +	kfree(sa11xx_uda1341);
> >  }

On 6/9/2004, "Takashi Iwai" <tiwai@suse.de> wrote:
> this causes double-free.
> sa11xx_uda1341 is already released in snd_sa11xx_uda1341_free(),
> invoked from snd_card_free().

You're right. Sorry about that one. 

                 Pekka 

      reply	other threads:[~2004-06-09  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-08 21:25 [PATCH] " Pekka J Enberg
2004-06-09  9:10 ` Takashi Iwai
2004-06-09  9:59   ` Pekka J Enberg [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=courier.40C6DF69.00003420@courier.cs.helsinki.fi \
    --to=penberg@cs.helsinki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.de \
    /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

all inboxes | Powered by JetHome®