From patchwork Tue Jun 20 16:09:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 9799937 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ABCF560329 for ; Tue, 20 Jun 2017 16:14:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF29D223A6 for ; Tue, 20 Jun 2017 16:14:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3C4026256; Tue, 20 Jun 2017 16:14:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 31E80223A6 for ; Tue, 20 Jun 2017 16:14:49 +0000 (UTC) Received: from localhost ([::1]:49664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNLnk-0007RX-3W for patchwork-qemu-devel@patchwork.kernel.org; Tue, 20 Jun 2017 12:14:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNLiL-0002w5-Cv for qemu-devel@nongnu.org; Tue, 20 Jun 2017 12:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNLiK-0003c0-Np for qemu-devel@nongnu.org; Tue, 20 Jun 2017 12:09:13 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:36374) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNLiK-0003bV-GP for qemu-devel@nongnu.org; Tue, 20 Jun 2017 12:09:12 -0400 Received: by mail-lf0-x242.google.com with SMTP id x81so15592589lfb.3 for ; Tue, 20 Jun 2017 09:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2ylWeEehCcoqaWQt5U83OIZbtBODwnvOuK3sTegiZ6I=; b=JwwWhJmS/MNru1mBriNhVMzsUaObRuH3GcyJGrY2rs2lKXKe74APly1nwe4WUuETdF InLKRiFQf4hn4QpEfC/7sazx3zHxNJNj6Mmj8RzDhqVA2wqOBwWA6Tt0tD7JF4srMB8x mH0BOXqNyLsUJJuCWv4poNXYKjnrXiYMesUDxc1PTTZGBrr1zVo0aySpCxhiU5vwJ8Q9 gno5bOwIwAPWBHEQDSqe8JZdtmB/v4fgAUn4o1iSaodQyiX/YYgX60GxLEZXx7NCei/M jeZtr3Ti4flEWYkCaLnTWRzVPpCm5qeV+bidBQGuarFafKVEAJevFG5Cj9XhiLhhovFP M4Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2ylWeEehCcoqaWQt5U83OIZbtBODwnvOuK3sTegiZ6I=; b=ApawEfEM7QgXss4zlRYMvHU1PS6k0zJfPMRMyK1OqYUbB4avJ8tSx5avGwYSKY3/dk fzE0zjk/uLveUwMjmactEetRPeHvRD3tnMtEmmCJ7mcOQ8AYfW9XzFqr9ZyR8gj2phdH 5ERnZSGEq/ZINzVoyEiEMA4+f6VMklTBFtvzcULaBViJtUcu7YhpbuKBfdGNTxGvWgs/ rhAVN5scNej6HziWEElGz266tHITKEq96fNViAxBEx0tQLuR7gQkCJ+cfw9+DmbCVIOo CPvlgRpAm7ODb7QhbcI4MSOAszY9c1GF5Hv/oBip95IQ/9peMOBGj0LtM0osUIebU9qW Lxeg== X-Gm-Message-State: AKS2vOwR+hP6T12tT55HBI0+B6fakx2u7PiE3S6rW+81y7bVq7X7Eq// WArSs36oX4gnwVz7 X-Received: by 10.25.18.220 with SMTP id 89mr908482lfs.176.1497974951187; Tue, 20 Jun 2017 09:09:11 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id y10sm2329728lja.24.2017.06.20.09.09.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 09:09:10 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Tue, 20 Jun 2017 18:09:01 +0200 Message-Id: <1497974944-27050-5-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497974944-27050-1-git-send-email-edgar.iglesias@gmail.com> References: <1497974944-27050-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::242 Subject: [Qemu-devel] [PATCH v1 4/7] target-microblaze: dec_barrel: Plug TCG temp leak X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sai.pavan.boddu@xilinx.com, edgar.iglesias@xilinx.com, alistai@xilinx.com, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Plug TCG temp leak. Signed-off-by: Edgar E. Iglesias Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 504ed88..6ee4885 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -690,6 +690,7 @@ static void dec_barrel(DisasContext *dc) tcg_gen_shr_tl(cpu_R[dc->rd], cpu_R[dc->ra], t0); } } + tcg_temp_free(t0); } static void dec_bit(DisasContext *dc)