]> git.karo-electronics.de Git - linux-beck.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@brturbo.com.br>
Thu, 26 Jan 2006 06:37:06 +0000 (04:37 -0200)
commitc37844f4a8c9524dbe9187397e75caa7a79ae83a
treea376b2ecaf74f6b21e64d823694490414bca0a27
parentcc925bbed017b12d46436e8ab788e0de8656d08c
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