Commit 6260da04 authored by WangYuli's avatar WangYuli Committed by Takashi Iwai
Browse files

selftests: ALSA: fix memory leak in utimer test



Free the malloc'd buffer in TEST_F(timer_f, utimer) to prevent
memory leak.

Fixes: 1026392d ("selftests: ALSA: Cover userspace-driven timers with test")
Reported-by: default avatarJun Zhan <zhanjun@uniontech.com>
Signed-off-by: default avatarWangYuli <wangyuli@uniontech.com>
Link: https://patch.msgid.link/DE4D931FCF54F3DB+20250731100222.65748-1-wangyuli@uniontech.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e9df1755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment