diff options
-rw-r--r-- | target/m68k/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 752e46ef63..08e259d6ea 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -2226,6 +2226,7 @@ static TCGv gen_get_sr(DisasContext *s) sr = tcg_temp_new(); tcg_gen_andi_i32(sr, QREG_SR, 0xffe0); tcg_gen_or_i32(sr, sr, ccr); + tcg_temp_free(ccr); return sr; } |