summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2013-06-02 14:26:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-08 19:59:36 -0300
commit4aab0398e003ac2effae98ba66a012ed715967ba (patch)
treec676a44c27c5c9115dc59cc6e495c1cc14b737d4 /drivers/media
parent4d8d5d92cb239142d888c7844db2b078e14d4213 (diff)
downloadop-kernel-dev-4aab0398e003ac2effae98ba66a012ed715967ba.zip
op-kernel-dev-4aab0398e003ac2effae98ba66a012ed715967ba.tar.gz
[media] r820t: do not double-free fe->tuner_priv in r820t_release()
fe->tuner_priv is already freed by hybrid_tuner_release_state(). Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/tuners/r820t.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c
index 4835021..64f9738 100644
--- a/drivers/media/tuners/r820t.c
+++ b/drivers/media/tuners/r820t.c
@@ -2256,7 +2256,6 @@ static int r820t_release(struct dvb_frontend *fe)
mutex_unlock(&r820t_list_mutex);
- kfree(fe->tuner_priv);
fe->tuner_priv = NULL;
return 0;
OpenPOWER on IntegriCloud