]> err.no Git - linux-2.6/commit
V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 22 Jun 2008 12:11:40 +0000 (09:11 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:58 +0000 (15:58 -0300)
commit5c554e6b984ce6b36488b93a7ec8e2752233e7cb
tree8e837cb9c858ec390207af9f1f1c489b1c35be25
parente470d8177ed6ae56f4310ce793a57bcb2fed1749
V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff

Move allocation after first check and fix memory leak.

Noticed-by: Daniel Marjamäki <danielm77@spray.se>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c