Message ID | 20211026102234.3961636-14-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:c404:0:0:0:0:0 with SMTP id t4csp145035imj; Tue, 26 Oct 2021 03:33:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuIuZEfP5422t7A/Jcvt2iTamDi5sNuf5jwv6c7sMMn2reTnnzDPHFHtuRGI84gJCTisiB X-Received: by 2002:a9d:5541:: with SMTP id h1mr6488964oti.229.1635244419133; Tue, 26 Oct 2021 03:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635244419; cv=none; d=google.com; s=arc-20160816; b=oITwhKzYh0vpGvq2BJ5VEYx+x2RZ+cKRxpwv89oDYc6c0CkWGX+NeQ1+smcRqb+3FH W5CXv9cMUWzsNsSFNPMbsGFCl1QKO+8zqUcBlE5IgFXVgiwq9jkzVpS9OXOfR7Xpasyt FLO+L/trKyr37iwTg8MxxeJ5Dh4bsJSnqxSKdmTB/4NAhjYWPeA+YNGY7Dvem7EUdKCA eBVGZqIc9s10lva0yhavGaoOyjJuoICKdVmmRyi7r5aDhMbmWNeRVKcjFVt3ih+dLGYe M2vkhrsRiiYTqNLwRZamLkhyn22XVjd9hfkmN1O8M+CTK/JJJxrtvUhipuN3ly5MWyW6 R+wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=IWjl9w4dID69sKeC7KjvTFMgg0FURy0JhRq2ek25mvM=; b=qfO7qZR+i08IYnumL5EHgq7CzMxQAwLHEaKviqU4vhBd1q3cJrg8nKQf0+NMurSuFU NGmDmxoy6NXbKLR1cyZUeOhm/CVHOM2qeGY5ppzJk3znNLnMwmGsgvyxT3cnHDzWPjPe ObaQaEuhBvo1ETSy/MNgoQhNwPyqAyo9dk3yx0UnUdd133vEWN05nnuvf+y0cdfDqX9p FhYSRObpLYxfnoL+dT23yDrR4v7UbGR3MALM2fnygg+/OPsrNJtoy4BiPNkJFSNYqtwr 9jtSCdRc28DBrX6EGuCAmUWmR3ReQEj8W4ya0z5PPyjTszk5iibSMfPhZLeDFe4Kz78Z mr4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Iuj37Joq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g10si23829706oiy.200.2021.10.26.03.33.39 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Oct 2021 03:33:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Iuj37Joq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1mfJly-0007rv-Ds for patch@linaro.org; Tue, 26 Oct 2021 06:33:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1mfJi1-000245-Kv for qemu-devel@nongnu.org; Tue, 26 Oct 2021 06:29:33 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:41550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1mfJhz-0004gG-QK for qemu-devel@nongnu.org; Tue, 26 Oct 2021 06:29:33 -0400 Received: by mail-wr1-x42e.google.com with SMTP id d3so14149625wrh.8 for <qemu-devel@nongnu.org>; Tue, 26 Oct 2021 03:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IWjl9w4dID69sKeC7KjvTFMgg0FURy0JhRq2ek25mvM=; b=Iuj37JoqoPeHkFb+bSOa/3uF8dQdtrCn5V4MFgXZc5xIlJtc4Tn8wGD7n65IYvNecX 3ty3W2j3KnUgTVSWeZlNArmV8Lwblqy6YTxYmnXb8fschAE3ZIOZqoVfefmBBioEcapZ dmP6I5UC2MEC76fbj+RPAUArwFd0guBEMp1RABhJYR/WhKSE6mALliJcWdKS3/qmoBYy JwUzt2ZWUDcJ6pkwqpT0i6VxKPWFdVwRRQSFOprdZRRbYXhESWsDsGaoItq7LNJQy9rQ TduFzQWup2EoA86NxICPnG4WNwNFto+Zx0k+lJ+7sDLOwKcsTKdJd4RbYc/n7BxV2hTZ kLsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IWjl9w4dID69sKeC7KjvTFMgg0FURy0JhRq2ek25mvM=; b=QqJqxAm9sb1cahTiH+U1NKvFk0Nhl0WhkDsTofKvxP7PSCA4hyxFaCCBtWRoKzc4+9 o9ul4PbApESE/lA4IOwImTbKyfEzSrv/oGqYIpbeBJ3ceS0AvOKUSG9ac/phZKS+VBDN XNr3gyMK5YX2L46Ffy+Wzkbckldm9NwPBvEkdF+Fwx1+M+UjtP4168HCQdkdXlA7EY3F ggcGPgnzFXGKGBYk/gY21eSm/PtDAgqTBblYv8d4hts/wkINfVwioYOqnVJKlO4CFKu2 nwgPdT81OqA2c7/LxjhALUE1FknNizDpvpUvGLXMdyrq8cUzNQVFYoRMHPz5koE+Bb+s jVpQ== X-Gm-Message-State: AOAM533NibYaPShEQ78vdA3a6fumT05URcXZDhew3SmlvNQZ9Uv+FTI9 7l8hrHMs2TOahBE02H/njmTPWA== X-Received: by 2002:adf:f9c6:: with SMTP id w6mr30877350wrr.415.1635244169553; Tue, 26 Oct 2021 03:29:29 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e9sm18858787wrn.2.2021.10.26.03.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 03:29:25 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DE9781FFAB; Tue, 26 Oct 2021 11:22:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v1 13/28] plugins/cache: freed heap-allocated mutexes Date: Tue, 26 Oct 2021 11:22:19 +0100 Message-Id: <20211026102234.3961636-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211026102234.3961636-1-alex.bennee@linaro.org> References: <20211026102234.3961636-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: fam@euphon.net, minyihh@uci.edu, berrange@redhat.com, kuhn.chenqun@huawei.com, f4bug@amsat.org, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, ma.mandourr@gmail.com, Alexandre Iooss <erdnaxe@crans.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
testing, plugins and gdbstub for 6.2
|
expand
|
On 10/26/21 12:22, Alex Bennée wrote: > From: Mahmoud Mandour <ma.mandourr@gmail.com> > > Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > Message-Id: <20210810134844.166490-2-ma.mandourr@gmail.com> > --- > contrib/plugins/cache.c | 3 +++ > 1 file changed, 3 insertions(+)
diff --git a/contrib/plugins/cache.c b/contrib/plugins/cache.c index a1e03ca882..a255e26e25 100644 --- a/contrib/plugins/cache.c +++ b/contrib/plugins/cache.c @@ -614,6 +614,9 @@ static void plugin_exit(qemu_plugin_id_t id, void *p) caches_free(dcaches); caches_free(icaches); + g_free(dcache_locks); + g_free(icache_locks); + g_hash_table_destroy(miss_ht); }