]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/m68k: Fix a tcg_temp leak
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 10 Mar 2019 00:34:25 +0000 (01:34 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 30 Jul 2019 19:33:20 +0000 (14:33 -0500)
commit19f55e7ab5f7cf4aadf6a3bc00dbfe752964e2a3
treeadf95cc09f34091d732d0e2007a46e5f9a017f96
parentc6b77a64b4af9ad2efe5dd68047f1f0bd256d5fc
target/m68k: Fix a tcg_temp leak

The function gen_get_ccr() returns a tcg_temp created with
tcg_temp_new(). Free it with tcg_temp_free().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190310003428.11723-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
(cherry picked from commit 44c64e90950adf9efe7f4235a32eb868d1290ebb)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/m68k/translate.c