]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Char: mxser_new, correct fail paths
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:25 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:54 +0000 (08:28 -0800)
commit171d3a86788eef4f751b88265bac393c3232dbdd
tree4737a327f2f95743690544604a66f7884f76aa10
parent214efebba86260a0fb3ef84b9f5707b58cbc227b
[PATCH] Char: mxser_new, correct fail paths

Resources were not released in some fail paths.  Correct this behaviour by
implementing function and calling it when something fails.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c