diff options
author | Liu Jing <liujing@cmss.chinamobile.com> | 2024-10-22 04:25:26 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-07 07:11:17 +0300 |
commit | 3f1f947a322d2bdf0b16ff9158ce6be7cc23b974 (patch) | |
tree | df285200a3fb4af904a7b3cea6d77b559e38145c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 39ac99852fca98ca44d52716d792dfaf24981f53 (diff) | |
download | linux-3f1f947a322d2bdf0b16ff9158ce6be7cc23b974.tar.xz |
tools/mm: free the allocated memory
The comm_str memory needs to be freed if the search_pattern function call
fails in get_comm
[akpm@linux-foundation.org: fix whitespace]
Link: https://lkml.kernel.org/r/20241022012526.7597-1-liujing@cmss.chinamobile.com
Signed-off-by: Liu Jing <liujing@cmss.chinamobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions