sim-card
/
qemu
Archived
10
0
Fork 0

target-arm: resource leak fixes for iwmmxt disassemble

This patch fixes few resource leaks in the iwmmxt disassemble.

Signed-off-by: Lars Munch <lars@segv.dk>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Lars Munch 2010-03-15 18:22:04 +01:00 committed by Aurelien Jarno
parent f7177937a2
commit d996882703
1 changed files with 2 additions and 0 deletions

View File

@ -1131,6 +1131,7 @@ static inline TCGv iwmmxt_load_creg(int reg)
static inline void iwmmxt_store_creg(int reg, TCGv var)
{
tcg_gen_st_i32(var, cpu_env, offsetof(CPUState, iwmmxt.cregs[reg]));
dead_tmp(var);
}
static inline void gen_op_iwmmxt_movq_wRn_M0(int rn)
@ -1415,6 +1416,7 @@ static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn)
}
}
}
dead_tmp(addr);
return 0;
}