]> git.ipfire.org Git - thirdparty/qemu.git/commit
Revert "hw/audio/hda: fix memory leak on audio setup"
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Nov 2024 12:53:17 +0000 (13:53 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 18 Nov 2024 16:29:56 +0000 (19:29 +0300)
commit8d9c6f6fa9eebd09ad8d0b4b4de4a0ec57e756d1
treec123ab03eb25169504806c37c4428bd9e66ac891
parent072d407be3f7dc9a6db8c214ee0dda3278201da1
Revert "hw/audio/hda: fix memory leak on audio setup"

This reverts commit 6d03242a7e47815ed56687ecd13f683d8da3f2fe,
which causes SPICE audio to break.  While arguably this is a SPICE bug,
it is possible to fix the leak in a less heavy-handed way.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2639
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20241114125318.1707590-2-pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit e125d9835b89545b09c0367404dcf69f18ae6de1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/audio/hda-codec.c