linux/tools/testing/selftests/alsa
WangYuli 6260da0468 selftests: ALSA: fix memory leak in utimer test
Free the malloc'd buffer in TEST_F(timer_f, utimer) to prevent
memory leak.

Fixes: 1026392d10 ("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>
2025-07-31 17:01:53 +02:00
..
conf.d kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
.gitignore selftests/alsa: Add a few missing gitignore files 2024-11-24 10:31:13 +01:00
alsa-local.h kselftest/alsa: pcm-test: Report cards declared in config but missing 2023-09-20 18:10:50 +02:00
conf.c selftests/alsa: make dump_config_tree() as void function 2024-05-08 18:15:42 +02:00
global-timer.c selftests: ALSA: Cover userspace-driven timers with test 2024-08-18 09:55:55 +02:00
Makefile selftests/alsa: Fix circular dependency involving global-timer 2024-12-20 10:00:41 +01:00
mixer-test.c kselftest/alsa: Use card name rather than number in test names 2024-07-18 16:47:34 +02:00
pcm-test.c kselftest/alsa: Log the PCM ID in pcm-test 2024-07-18 16:48:44 +02:00
pcm-test.conf kselftest/alsa: pcm - Add more coverage by default 2023-01-02 15:08:24 +01:00
test-pcmtest-driver.c selftests: avoid using SKIP(exit()) in harness fixure setup 2024-03-05 19:25:36 -08:00
utimer-test.c selftests: ALSA: fix memory leak in utimer test 2025-07-31 17:01:53 +02:00