Commit 6c6bb465 authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN: Fix mem leak in ST5481 driver

In the unload path, we forgot to free the D-Channel state machines.
parent 579101ac
......@@ -196,7 +196,7 @@ static int __init st5481_usb_init(void)
st5481_debug = debug;
#endif
printk(KERN_INFO "hiax_st5481: ST5481 USB ISDN driver v0.1.0\n");
printk(KERN_INFO "hisax_st5481: ST5481 USB ISDN driver v0.1.0\n");
retval = st5481_d_init();
if (retval < 0)
......@@ -217,6 +217,7 @@ static int __init st5481_usb_init(void)
static void __exit st5481_usb_exit(void)
{
usb_deregister(&st5481_usb_driver);
st5481_d_exit();
}
module_init(st5481_usb_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment