[lm-sensors] PATCH: hwmon fschmd: Fix a memleak on multiple opens of /dev/watchdog

Jean Delvare khali at linux-fr.org
Sat Jan 23 20:24:54 CET 2010

On Sat, 23 Jan 2010 17:24:57 +0100, Hans de Goede wrote:
> 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.
> This patch fixes this.
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Applied, thanks.

Jean Delvare

More information about the lm-sensors mailing list