summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2003-10-22 13:15:45 +0000
committerAndreas Oberritter <devnull@localhost>2003-10-22 13:15:45 +0000
commitf8a18e1f2a17b4fb704c5a210fdd3a2096a84f36 (patch)
treef63e078ad764dcd31fc60f068033e7ea2f99ac09 /linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
parent9fcfb075a652c780c2586bc56d30fec2621cbe13 (diff)
downloadmediapointer-dvb-s2-f8a18e1f2a17b4fb704c5a210fdd3a2096a84f36.tar.gz
mediapointer-dvb-s2-f8a18e1f2a17b4fb704c5a210fdd3a2096a84f36.tar.bz2
fix crash on module unload by Dmitri Katchalov <dmitrik@users.sourceforge.net>
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c3
1 files changed, 1 insertions, 2 deletions
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);
}
}