commit | c453615f77aa51593c1c9c9031b4278797d3fd19 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Mon Jan 25 15:00:50 2010 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Mon Jan 25 15:00:50 2010 +0100 |
tree | 7d6c05c9487b311d4f276d4c4bdf42d4e06fa445 | |
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