提交 09d48954 编写于 作者: T Thomas Viehweger 提交者: Mauro Carvalho Chehab

V4L/DVB (5472): Isl6421: don't reference freed memory

After freeing a block there should be no reference to this block.
Signed-off-by: NThomas Viehweger <Thomas.Viehweger@marconi.com>
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 7a7cd192
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册