Skip to content

Commit

Permalink
[media] r820t: do not double-free fe->tuner_priv in r820t_release()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gianluca Gennari authored and Mauro Carvalho Chehab committed Jun 8, 2013
1 parent 4d8d5d9 commit 4aab039
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/tuners/r820t.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4aab039

Please sign in to comment.