From: Jeff Garzik <jgarzik@pobox.com>
To: davej@suse.de
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@digeo.com>
Subject: Re: [PATCH] memleak in myri_sbus
Date: Tue, 26 Nov 2002 12:00:36 -0500 [thread overview]
Message-ID: <3DE3A8B4.8030205@pobox.com> (raw)
In-Reply-To: <200211260413.gAQ4DMX25528@hera.kernel.org>
Linux Kernel Mailing List wrote:
> diff -Nru a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c
> --- a/drivers/net/myri_sbus.c Mon Nov 25 20:13:24 2002
> +++ b/drivers/net/myri_sbus.c Mon Nov 25 20:13:24 2002
> @@ -1085,6 +1085,7 @@
> #endif
> return 0;
> err: unregister_netdev(dev);
> + kfree(dev->priv);
> kfree(dev);
> return -ENODEV;
> }
> @@ -1142,6 +1143,7 @@
another bogus one, please revert.
>
>
> unregister_netdev(root_myri_dev->dev);
> kfree(root_myri_dev->dev);
> + kfree(root_myri_dev);
> root_myri_dev = next;
> }
likewise.
Jeff
parent reply other threads:[~2002-11-26 16:54 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200211260413.gAQ4DMX25528@hera.kernel.org>]
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=3DE3A8B4.8030205@pobox.com \
--to=jgarzik@pobox.com \
--cc=akpm@digeo.com \
--cc=davej@suse.de \
--cc=linux-kernel@vger.kernel.org \
/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®