On 4/22/22 04:43, Max Filippov wrote:
pc and w are allocated with tcg_const_i32 but not freed in
gen_window_check. Use tcg_constant_i32 for them both.

Fixes: 2db59a76c421 ("target-xtensa: record available window in TB flags")
Signed-off-by: Max Filippov<jcmvb...@gmail.com>
---
Changes v1->v2:
- also use tcg_constant_* for PC

  target/xtensa/translate.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to