summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLiu Jing <liujing@cmss.chinamobile.com>2024-10-22 09:25:26 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-11-06 20:11:17 -0800
commit3f1f947a322d2bdf0b16ff9158ce6be7cc23b974 (patch)
treedf285200a3fb4af904a7b3cea6d77b559e38145c /rust/alloc/collections/git@git.tavy.me:linux.git
parent39ac99852fca98ca44d52716d792dfaf24981f53 (diff)
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 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions