mirror of
https://github.com/xemu-project/xemu.git
synced 2026-11-17 19:24:31 +01:00
hw/audio/hda: free timer on exit
Fixes: 280c1e1cd ("audio/hda: create millisecond timers that handle IO")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20241008125028.1177932-2-marcandre.lureau@redhat.com>
This commit is contained in:
1 parent
3860a2a8de
commit
f27206ceed
1 file changed
+1
-1
@@ -751,7 +751,7 @@ static void hda_audio_exit(HDACodecDevice *hda)
|
||||
continue;
|
||||
}
|
||||
if (a->use_timer) {
|
||||
timer_del(st->buft);
|
||||
timer_free(st->buft);
|
||||
}
|
||||
if (st->output) {
|
||||
AUD_close_out(&a->card, st->voice.out);
|
||||
|
||||
Reference in new issue
Block a user