提交 13628032 编写于 作者: A Adrian Bunk 提交者: Mauro Carvalho Chehab

V4L/DVB (6122): ivtvfb: fix an obvious bug in ivtvfb_release_buffers()

Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 641ed49d
......@@ -1064,8 +1064,8 @@ static void ivtvfb_release_buffers (struct ivtv *itv)
struct osd_info *oi = itv->osd_info;
/* Release cmap */
if (oi->ivtvfb_info.cmap.len);
fb_dealloc_cmap(&oi->ivtvfb_info.cmap);
if (oi->ivtvfb_info.cmap.len)
fb_dealloc_cmap(&oi->ivtvfb_info.cmap);
/* Release pseudo palette */
if (oi->ivtvfb_info.pseudo_palette)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册