aboutsummaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-01-25 15:00:50 +0100
committerJean Delvare <khali@linux-fr.org>2010-01-25 15:00:50 +0100
commitc453615f77aa51593c1c9c9031b4278797d3fd19 (patch)
tree7d6c05c9487b311d4f276d4c4bdf42d4e06fa445 /kernel/compat.c
parent5542482b9c61c2588f1178f315310a794988051a (diff)
hwmon: (fschmd) Fix a memleak on multiple opens of /dev/watchdog
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
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions