]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (3439a): media video stradis memory fix
authorJiri Slaby <xslaby@fi.muni.cz>
Tue, 24 Jan 2006 21:15:06 +0000 (13:15 -0800)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jan 2006 06:41:32 +0000 (04:41 -0200)
commite0202c8732ba273a5a0d73920d93010776dacc62
tree7d9adae1a946bc59763743b61cd63167440ffc77
parent605a423563f7bc00b3b2547a002ab97b833bfcfd
V4L/DVB (3439a): media video stradis memory fix

memset clears once set structure, there is actually no need for memset,
because configure function do it for us.  Next, vfree(NULL) is legal, so
avoid useless labels.

Thanks Dave Jones for reporting this.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/stradis.c