ucc: Fix leaky error path
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 6 Apr 2009 16:33:48 +0000 (17:33 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 21:36:32 +0000 (14:36 -0700)
commit8d5a05da823ebd83a5147e1bfe19036a57a4d33c
treea692cc97fd67c5249a4fc76a98fda2aad297e7a7
parent5c9f5806836a9079d6c2d38d567d5f0662863bf4
ucc: Fix leaky error path

Found by Daniel Marjamäki using cppcheck

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/ucc_uart.c