USB: Fix unload oops and memory leak in yealink driver
authorHenk Vergonet <Henk.Vergonet@gmail.com>
Fri, 8 Sep 2006 00:21:01 +0000 (02:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Sep 2006 10:10:21 +0000 (03:10 -0700)
commit3e2aac366f40f4cf4f3b1d9101b27f703998dfbc
tree43f972ef27c8407115bd9f491e64b40c0e172967
parent5992583889ce6b7960e8023e356b2a0930ebce7c
USB: Fix unload oops and memory leak in yealink driver

This patch fixes a memory leak and a kernel oops when trying to unload
the driver, due to an unbalanced cleanup.
Thanks Ivar Jensen for spotting my mistake.

Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/yealink.c