diff options
author | Gianluca Gennari <gennarone@gmail.com> | 2013-06-02 19:26:15 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-09 00:59:36 +0200 |
commit | 4aab0398e003ac2effae98ba66a012ed715967ba (patch) | |
tree | c676a44c27c5c9115dc59cc6e495c1cc14b737d4 /drivers/media/tuners | |
parent | [media] dib8000: Fix dib8000_set_frontend() never setting ret (diff) | |
download | linux-4aab0398e003ac2effae98ba66a012ed715967ba.tar.xz linux-4aab0398e003ac2effae98ba66a012ed715967ba.zip |
[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/tuners')
-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; |