Skip to content

Commit

Permalink
V4L/DVB (5472): Isl6421: don't reference freed memory
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Thomas Viehweger authored and Mauro Carvalho Chehab committed Mar 27, 2007
1 parent 7a7cd19 commit 09d4895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/frontends/isl6421.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 09d4895

Please sign in to comment.