Received: from eggs.gnu.org ([2001:4830:134:3::10]:48934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brqF8-0007bH-3D for qemu-devel@nongnu.org; Wed, 05 Oct 2016 13:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brqF3-0004lk-Uz for qemu-devel@nongnu.org; Wed, 05 Oct 2016 13:44:33 -0400 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]:33785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brqF3-0004lb-QN for qemu-devel@nongnu.org; Wed, 05 Oct 2016 13:44:29 -0400 Received: by mail-oi0-x242.google.com with SMTP id o93so4450370oik.0 for ; Wed, 05 Oct 2016 10:44:29 -0700 (PDT) Sender: Richard Henderson References: <1474048017-26696-1-git-send-email-rth@twiddle.net> <1474048017-26696-30-git-send-email-rth@twiddle.net> <87eg3usyue.fsf@linaro.org> From: Richard Henderson Message-ID: Date: Wed, 5 Oct 2016 10:44:27 -0700 MIME-Version: 1.0 In-Reply-To: <87eg3usyue.fsf@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v4 29/35] target-arm: emulate SWP with atomic_xchg helper List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, "Emilio G. Cota" On 10/05/2016 06:35 AM, Alex Bennée wrote: >> > + addr = load_reg(s, rn); >> > + taddr = gen_aa32_addr(s, addr, opc); > I think we are leaking this temp, shouldn't we free it once done? > Good catch. r~