diff options
author | Jia-Ju Bai <[email protected]> | 2016-01-04 16:14:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-01-24 20:51:34 -0800 |
commit | d8ff463a4ef22f090df21a3c5b34b336e80b72ca (patch) | |
tree | 5d44025803ae1fdd22839090dfc56191e6a118cb /tools/perf/scripts/python | |
parent | 4bb3cad7125ba03255025cf1e4e7c638e4757f6c (diff) |
ehci-hcd: Cleanup memory resources when ehci_halt fails
The driver calls ehci_mem_init to allocate memory resources.
But these resources are not freed when ehci_halt fails.
This patch adds "ehci_mem_cleanup" in error handling code to fix this problem.
Signed-off-by: Jia-Ju Bai <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions