projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8d5d9
)
[media] r820t: do not double-free fe->tuner_priv in r820t_release()
author
Gianluca Gennari
<gennarone@gmail.com>
Sun, 2 Jun 2013 17:26:15 +0000
(14:26 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 8 Jun 2013 22:59:36 +0000
(19:59 -0300)
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>
drivers/media/tuners/r820t.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/r820t.c
b/drivers/media/tuners/r820t.c
index 4835021aa3b6c21239123e01a4ae05436afd41ff..64f97389d5b037bf41151ee0ecd4837f96cb9041 100644
(file)
--- 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;