Skip to content
Commit 5c554e6b authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff



Move allocation after first check and fix memory leak.

Noticed-by: default avatarDaniel Marjamäki <danielm77@spray.se>

Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent e470d817
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment