]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit805f123d5026ed1e4c01c3ed4f7c23ca663ac727
tree7d9adae1a946bc59763743b61cd63167440ffc77
parent65f17ee28ef497f437ee82700dde2908ec7f6271
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