diff options
author | 2010-10-07 13:40:42 -0300 | |
---|---|---|
committer | 2010-10-22 10:20:10 -0700 | |
commit | abf4f6a51477a68fe144b0c62f10c410b0c41378 (patch) | |
tree | 4631c6d469a746df2fd679ad51dfc9f7203559e8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Alchemy: Add UART PM methods. (diff) | |
download | linux-dev-abf4f6a51477a68fe144b0c62f10c410b0c41378.tar.xz linux-dev-abf4f6a51477a68fe144b0c62f10c410b0c41378.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions