qemu-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Qemu-devel] Resource leaking in gen_intermediate_code_internal ?
From
:
Jun Koi
Subject
:
[Qemu-devel] Resource leaking in gen_intermediate_code_internal ?
Date
:
Tue, 30 Jun 2015 10:45:13 +0800
Hello,
In function gen_intermediate_code_internal() of target-i386/translate.c, we have this code:
cpu_T[0] = tcg_temp_new();
cpu_T[1] = tcg_temp_new();
cpu_A0 = tcg_temp_new();
I cannot see anywhere cpu_T & cpu_A0 are freed, so each time this function is called, it allocates new variables without freeing old variables. So we have resource leaking here?
Thanks.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Qemu-devel] Resource leaking in gen_intermediate_code_internal ?
,
Jun Koi
<=
Re: [Qemu-devel] Resource leaking in gen_intermediate_code_internal ?
,
Peter Maydell
,
2015/06/30
Prev by Date:
[Qemu-devel] [PATCH] xen: Drop net_rx_ok
Next by Date:
Re: [Qemu-devel] [PATCH v4 3/6] pc: Abort if HotplugHandlerClass::plug() fails
Previous by thread:
[Qemu-devel] [PATCH] xen: Drop net_rx_ok
Next by thread:
Re: [Qemu-devel] Resource leaking in gen_intermediate_code_internal ?
Index(es):
Date
Thread