On 4/29/24 12:07 AM, Geliang Tang wrote:
From: Geliang Tang <[email protected]> The strdup() function returns a pointer to a new string which is a duplicate of the string "input". Memory for the new string is obtained with malloc(), and need to be freed with free(). This patch adds these missing "free(input)" in parse_stats() to avoid memory leak in veristat.c. Signed-off-by: Geliang Tang <[email protected]>
Acked-by: Yonghong Song <[email protected]>
