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]