diff options
author | Pan Bian <[email protected]> | 2018-11-22 10:07:12 +0800 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2018-11-29 17:53:33 +0100 |
commit | 975ef94a0284648fb0137bd5e949b18cef604e33 (patch) | |
tree | d1bb5234946209787b26a8d750572d7dcaffdec0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 123664101aa2156d05251704fc63f9bcbf77741a (diff) |
pvcalls-front: fixes incorrect error handling
kfree() is incorrectly used to release the pages allocated by
__get_free_page() and __get_free_pages(). Use the matching deallocators
i.e., free_page() and free_pages(), respectively.
Signed-off-by: Pan Bian <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions