aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/translate_init.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-09 06:27:24 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-09 06:27:24 +0000
commit69bd582091a8dee1dc0eb62edcac9235c0f12aa1 (patch)
tree711393f4512ce0507f7449f548e00cac5130a9e4 /target-ppc/translate_init.c
parentd34defbc216cb3ebb2faa73df32841faf1bf45ca (diff)
target-ppc: free a tcg temp variable
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6790 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r--target-ppc/translate_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 40e652732a..1c0a044dbe 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -474,6 +474,7 @@ static void spr_write_excp_prefix (void *opaque, int sprn, int gprn)
tcg_gen_and_tl(t0, t0, cpu_gpr[gprn]);
tcg_gen_st_tl(t0, cpu_env, offsetof(CPUState, excp_prefix));
gen_store_spr(sprn, t0);
+ tcg_temp_free(t0);
}
static void spr_write_excp_vector (void *opaque, int sprn, int gprn)