From: Aurelien Jarno <aurelien@aurel32.net>
To: Lars Munch <lars@segv.dk>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] resource leak fixes for iwmmxt disassemble
Date: Thu, 8 Apr 2010 11:58:41 +0200 [thread overview]
Message-ID: <20100408095841.GD5700@volta.aurel32.net> (raw)
In-Reply-To: <20100315172204.GF8895@firewall>
On Mon, Mar 15, 2010 at 06:22:04PM +0100, Lars Munch wrote:
>
> This patch fixes few resource leaks in the iwmmxt disassemble.
Thanks, applied.
> Signed-off-by: Lars Munch <lars@segv.dk>
> ---
> target-arm/translate.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/target-arm/translate.c b/target-arm/translate.c
> index cdfe946..2ab7881 100644
> --- a/target-arm/translate.c
> +++ b/target-arm/translate.c
> @@ -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;
> }
>
> --
> 1.7.0
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
prev parent reply other threads:[~2010-04-08 11:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 17:22 [Qemu-devel] [PATCH] resource leak fixes for iwmmxt disassemble Lars Munch
2010-04-08 9:58 ` Aurelien Jarno [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100408095841.GD5700@volta.aurel32.net \
--to=aurelien@aurel32.net \
--cc=lars@segv.dk \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.