git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5542482
)
hwmon: (fschmd) Fix a memleak on multiple opens of /dev/watchdog
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 25 Jan 2010 14:00:50 +0000
(15:00 +0100)
committer
Jean Delvare
<khali@linux-fr.org>
Mon, 25 Jan 2010 14:00:50 +0000
(15:00 +0100)
When /dev/watchdog gets opened a second time we return -EBUSY, but
we already have got a kref then, so we end up leaking our data struct.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
No differences found