Please sign in to comment.
memcg: free spare array to avoid memory leak
commit 8c75776 upstream. When the last event is unregistered, there is no need to keep the spare array anymore. So free it to avoid memory leak. Signed-off-by: Sha Zhengju <email@example.com> Acked-by: KAMEZAWA Hiroyuki <firstname.lastname@example.org> Reviewed-by: Kirill A. Shutemov <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com> Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
- Loading branch information...