From f8a18e1f2a17b4fb704c5a210fdd3a2096a84f36 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 22 Oct 2003 13:15:45 +0000 Subject: fix crash on module unload by Dmitri Katchalov --- linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'linux') diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 3adaddd2c..a36a00e90 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -594,9 +594,8 @@ static void __exit dvb_bt8xx_exit(void) dvb_unregister_adapter(card->dvb_adapter); dvb_bt8xx_adap_free(card->i2c_adapter); - kfree(card); - list_del(&card->list); + kfree(card); } } -- cgit v1.2.3