diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-01-25 15:00:50 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-01-25 15:00:50 +0100 |
commit | c453615f77aa51593c1c9c9031b4278797d3fd19 (patch) | |
tree | 7d6c05c9487b311d4f276d4c4bdf42d4e06fa445 /drivers/hwmon/lm92.c | |
parent | 5542482b9c61c2588f1178f315310a794988051a (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 'drivers/hwmon/lm92.c')
0 files changed, 0 insertions, 0 deletions