upstream: [media] r820t: do not double-free fe->tuner_priv in r820t_release()
authorGianluca Gennari <gennarone@gmail.com>
Sun, 2 Jun 2013 17:26:15 +0000 (14:26 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:07 +0000 (11:48 +0900)
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

index 4835021..64f9738 100644 (file)
@@ -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;