]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: fix TCG leak for fcvt half->double
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 31 Jan 2020 15:34:39 +0000 (15:34 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 22 Jun 2020 17:49:09 +0000 (12:49 -0500)
commitaacf6bfb7edc5aaab2bc2fddfd6fd481cb877bc6
tree83d75acbb076a0f7bc01dd5e60a753fd21b2ffdc
parent4b34c6d7248d4e78203db94c79abfed7b0549076
target/arm: fix TCG leak for fcvt half->double

When support for the AHP flag was added we inexplicably only freed the
new temps in one of the two legs. Move those tcg_temp_free to the same
level as the allocation to fix that leak.

Fixes: 486624fcd3eac
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20200131153439.26027-1-alex.bennee@linaro.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit aeab8e5eb220cc5ff84b0b68b9afccc611bf0fcd)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/arm/translate-a64.c