summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-03-22 10:20:32 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-03-22 10:20:32 -0400
commit287ac9e4ebd5e0a7b27fce0430011dc4b7997e60 (patch)
tree9fb20b3768bdfc7c0d3f5acc3c96412c1f34b0d0 /linux/drivers/media/dvb/frontends
parent462eeaf510ade76bcdf8c2f0ff535459c244c4cb (diff)
downloadmediapointer-dvb-s2-287ac9e4ebd5e0a7b27fce0430011dc4b7997e60.tar.gz
mediapointer-dvb-s2-287ac9e4ebd5e0a7b27fce0430011dc4b7997e60.tar.bz2
isl6421: don't reference freed memory
From: Thomas Viehweger <Thomas.Viehweger@marconi.com> After freeing a block there should be no reference to this block. Signed-off-by: Thomas Viehweger <Thomas.Viehweger@marconi.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/isl6421.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/isl6421.c b/linux/drivers/media/dvb/frontends/isl6421.c
index ef319369e..c967148a5 100644
--- a/linux/drivers/media/dvb/frontends/isl6421.c
+++ b/linux/drivers/media/dvb/frontends/isl6421.c
@@ -122,6 +122,7 @@ struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter
/* detect if it is present or not */
if (isl6421_set_voltage(fe, SEC_VOLTAGE_OFF)) {
kfree(isl6421);
+ fe->sec_priv = NULL;
return NULL;
}