diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-10-08 16:50:10 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-10-14 17:34:09 +0400 |
commit | f27206ceedbe2efae37c8d143c5eb2db05251508 (patch) | |
tree | 266f4028498840ead6bcb8b2d4cc843994a72bce | |
parent | 3860a2a8de56fad71db42f4ad120eb7eff03b51f (diff) | |
download | qemu-f27206ceedbe2efae37c8d143c5eb2db05251508.zip qemu-f27206ceedbe2efae37c8d143c5eb2db05251508.tar.gz qemu-f27206ceedbe2efae37c8d143c5eb2db05251508.tar.bz2 |
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>
-rw-r--r-- | hw/audio/hda-codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c index b40eec960..74c0292 100644 --- a/hw/audio/hda-codec.c +++ b/hw/audio/hda-codec.c @@ -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); |