diff options
author | Gianluca Gennari <gennarone@gmail.com> | 2013-06-02 14:26:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-08 19:59:36 -0300 |
commit | 4aab0398e003ac2effae98ba66a012ed715967ba (patch) | |
tree | c676a44c27c5c9115dc59cc6e495c1cc14b737d4 /drivers | |
parent | 4d8d5d92cb239142d888c7844db2b078e14d4213 (diff) | |
download | linux-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')
-rw-r--r-- | drivers/media/tuners/r820t.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 4835021aa3b6..64f97389d5b0 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; |