Skip to content

Commit 2787ca0

Browse files
elmarcoMichael Tokarev
authored and
Michael Tokarev
committed
hw/audio/hda: free timer on exit
Fixes: 280c1e1 ("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> (cherry picked from commit f27206c) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 parent 10e3edd commit 2787ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/audio/hda-codec.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ static void hda_audio_exit(HDACodecDevice *hda)
751751
continue;
752752
}
753753
if (a->use_timer) {
754-
timer_del(st->buft);
754+
timer_free(st->buft);
755755
}
756756
if (st->output) {
757757
AUD_close_out(&a->card, st->voice.out);

0 commit comments

Comments
 (0)