Free the malloc'd buffer in TEST_F(timer_f, utimer) to prevent
memory leak.
Fixes: 1026392d10af ("selftests: ALSA: Cover userspace-driven timers with test")
Reported-by: Jun Zhan <zhanjun@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: https://patch.msgid.link/DE4D931FCF54F3DB+20250731100222.65748-1-wangyuli@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||
|---|---|---|
| .. | ||
| conf.d | ||
| .gitignore | ||
| alsa-local.h | ||
| conf.c | ||
| global-timer.c | ||
| Makefile | ||
| mixer-test.c | ||
| pcm-test.c | ||
| pcm-test.conf | ||
| test-pcmtest-driver.c | ||
| utimer-test.c | ||