]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6122): ivtvfb: fix an obvious bug in ivtvfb_release_buffers()
authorAdrian Bunk <bunk@kernel.org>
Tue, 28 Aug 2007 06:28:04 +0000 (03:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:07:25 +0000 (22:07 -0300)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtvfb.c

index 73e46f94b45a223eb3a62d29ffb19a751171c5b4..9684048fe56c8b5e69a5015fe2c342e979a0e390 100644 (file)
@@ -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)