From: Vojtech Pavlik <vojtech@suse.cz>
To: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: [PATCH 4/5] Fix memory leak in hiddev.c found by Stanford Checker
Date: Fri, 19 Sep 2003 21:47:15 +0200 [thread overview]
Message-ID: <10640008352154@twilight.ucw.cz> (raw)
In-Reply-To: <1064000835630@twilight.ucw.cz>
You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1353, 2003-09-19 13:32:38+02:00, vojtech@suse.cz
input: Fix memory leak in hiddev.c found by Stanford Checker.
hiddev.c | 1 +
1 files changed, 1 insertion(+)
===================================================================
diff -Nru a/drivers/usb/input/hiddev.c b/drivers/usb/input/hiddev.c
--- a/drivers/usb/input/hiddev.c Fri Sep 19 14:12:42 2003
+++ b/drivers/usb/input/hiddev.c Fri Sep 19 14:12:42 2003
@@ -727,6 +727,7 @@
retval = usb_register_dev(&hiddev->intf, &hiddev_class);
if (retval) {
err("Not able to get a minor for this device.");
+ kfree(hiddev);
return -1;
}
next prev parent reply other threads:[~2003-09-19 19:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-19 19:47 [PATCH 1/5] input: Fix Set3 keycode for right control in atkbd.c Vojtech Pavlik
2003-09-19 19:47 ` [PATCH 2/5] Fix a warning in input.c when CONFIG_PROC_FS is not set Vojtech Pavlik
2003-09-19 19:47 ` [PATCH 3/5] Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c Vojtech Pavlik
2003-09-19 19:47 ` Vojtech Pavlik [this message]
2003-09-19 19:47 ` [PATCH 5/5] Fix Kconfig KEYBOARD_ATKBD when SERIO is modular Vojtech Pavlik
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=10640008352154@twilight.ucw.cz \
--to=vojtech@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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