The quilt patch titled Subject: tools/mm: free the allocated memory has been removed from the -mm tree. Its filename was tools-mm-free-the-allocated-memory.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Liu Jing <liujing@xxxxxxxxxxxxxxxxxxxx> Subject: tools/mm: free the allocated memory Date: Tue, 22 Oct 2024 09:25:26 +0800 The comm_str memory needs to be freed if the search_pattern function call fails in get_comm [akpm@xxxxxxxxxxxxxxxxxxxx: fix whitespace] Link: https://lkml.kernel.org/r/20241022012526.7597-1-liujing@xxxxxxxxxxxxxxxxxxxx Signed-off-by: Liu Jing <liujing@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/mm/page_owner_sort.c | 1 + 1 file changed, 1 insertion(+) --- a/tools/mm/page_owner_sort.c~tools-mm-free-the-allocated-memory +++ a/tools/mm/page_owner_sort.c @@ -377,6 +377,7 @@ static char *get_comm(char *buf) if (errno != 0) { if (debug_on) fprintf(stderr, "wrong comm in follow buf:\n%s\n", buf); + free(comm_str); return NULL; } _ Patches currently in -mm which might be from liujing@xxxxxxxxxxxxxxxxxxxx are