Skip to content
Snippets Groups Projects
Commit fa359d06 authored by Hao Zeng's avatar Hao Zeng Committed by Steven Rostedt (Google)
Browse files

recordmcount: Fix memory leaks in the uwrite function

Common realloc mistake: 'file_append' nulled but not freed upon failure

Link: https://lkml.kernel.org/r/20230426010527.703093-1-zenghao@kylinos.cn



Signed-off-by: default avatarHao Zeng <zenghao@kylinos.cn>
Suggested-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent 41d8fba1
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment