aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBreno Leitao <leitao@linux.vnet.ibm.com>2010-10-07 12:40:42 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:20:10 -0400
commitabf4f6a51477a68fe144b0c62f10c410b0c41378 (patch)
tree4631c6d469a746df2fd679ad51dfc9f7203559e8 /samples
parent7d172bfefb72a8dae56beff326299c5e21f6f6db (diff)
jsm: Remove the uart port on errors
If kzmalloc fails, the uart port is not removed causing a leak. This patch just add another label that removes the uart when the kzmalloc fails. Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions