diff --git a/qemu/target/mips/translate.c b/qemu/target/mips/translate.c index 2020d91e..3c789652 100644 --- a/qemu/target/mips/translate.c +++ b/qemu/target/mips/translate.c @@ -13823,6 +13823,8 @@ static void gen_cache_operation(DisasContext *ctx, uint32_t op, int base, TCGv t1 = tcg_temp_new(tcg_ctx); gen_base_offset_addr(ctx, t1, base, offset); gen_helper_cache(tcg_ctx, tcg_ctx->cpu_env, t1, t0); + tcg_temp_free(tcg_ctx, t1); + tcg_temp_free_i32(tcg_ctx, t0); } #if defined(TARGET_MIPS64)