target/arm: fix TCG leak for fcvt half->double
commitaeab8e5eb220cc5ff84b0b68b9afccc611bf0fcd
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 31 Jan 2020 15:34:39 +0000 (31 15:34 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 31 Jan 2020 16:53:13 +0000 (31 16:53 +0000)
treee8e2408524f3cd0e16cd1e30fa2cc0011c738077
parentadcd6e93b9519f7fe421d543e3aa646895b32e1a
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>
target/arm/translate-a64.c