From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFD39C433ED for ; Mon, 26 Apr 2021 16:56:10 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8BD56610FC for ; Mon, 26 Apr 2021 16:56:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8BD56610FC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb4Wn-0007Dh-EQ for qemu-devel@archiver.kernel.org; Mon, 26 Apr 2021 12:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb4VW-0005yY-F9 for qemu-devel@nongnu.org; Mon, 26 Apr 2021 12:54:52 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:39923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lb4VU-00012q-R4 for qemu-devel@nongnu.org; Mon, 26 Apr 2021 12:54:50 -0400 Received: by mail-wr1-x430.google.com with SMTP id q9so2450982wrs.6 for ; Mon, 26 Apr 2021 09:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=RLTsn04ZOSXF8WjTx0gVRJwjqQt41+A2bQfibgUR+5E=; b=WNZNTdOFP/FwJltPqjiPrfbJG3Sdz3AoOHUd4QUJS+sM9axdGvjYyxugbnkYG5Pt8G wQFYPTJGjkC3ae8xAaxHE/rr/JE3RrC8K8hsv3VnvtZZWsmA6i5TcV/hfIT3WpgNKJfG M4k2/jFWze79R4Wil7Wk0RmWpyW7KEC4FoSDdBiTkwllmBm8zIzu+HtizQeq5Vb3a0tX v58/4WD2/Xb2/dDnVs1NUq5LsDS0X6Lre8iMuRW9S3iH7wazvkGR8D1E2nY/E4MXKlBF S4KCC3GTL1yKSy6xra6Hh/qsQWYOcc8O9ZDSxkCP331rMsYCz4ArBv4YqD1jqomTawp+ txZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=RLTsn04ZOSXF8WjTx0gVRJwjqQt41+A2bQfibgUR+5E=; b=jpuMj8OKmNdSsUw/iK2r8RrLoDhuOGKcc4SsNpytKI7gzxG5m9k4h9RgUxGl65l3RP naXtmzTktLMkhUJXcm5vZ238FxkxG16wEbI/1P2EGQ+hx7l2EMgUe8csvcymMtP8ay1B /QZQu3rqPSPB/zq+D9KuNybc5kQsutW3ULBM98t5jA0T4cJivRZKE2dEG/35d5Fk80JY hmKU8P3Ke/ip7pttvsUPOnZpBHV6XyHNzdVtpNCu4Ryc09B9uhzKBeP0ZUHCCEEjW8U3 ap04CP/nx/KkYclfWRvQG3VL5tGPIUmQhk5TC6b4c7VuOlOMta+TAFu11hEVN6LXoYxs I+1Q== X-Gm-Message-State: AOAM532R8xkU1eTpGZ3bVG9z1yMY+4oy2GSs0MMHWHtLZzIMYccCy7G2 UIrY/FJulyxQA22DmwP3MlqpUw== X-Google-Smtp-Source: ABdhPJzJ3Va1nxPZFRYqSEENXsFnWYf4elkKu53hZQd6mLuMkdYaDO1hZoyZPHXmtSCfcooU2gusyA== X-Received: by 2002:a5d:4dcb:: with SMTP id f11mr23866971wru.129.1619456087200; Mon, 26 Apr 2021 09:54:47 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y19sm15481wmj.28.2021.04.26.09.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 09:54:46 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C17451FF7E; Mon, 26 Apr 2021 17:54:45 +0100 (BST) References: <20210421140934.7561-1-ma.mandourr@gmail.com> <87wnsprnq1.fsf@linaro.org> User-agent: mu4e 1.5.12; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Mahmoud Mandour Subject: Re: [PATCH 0/2] plugins: Freeing allocated values in hash tables. Date: Mon, 26 Apr 2021 17:54:32 +0100 In-reply-to: <87wnsprnq1.fsf@linaro.org> Message-ID: <87tuntrnoq.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Alex Benn=C3=A9e writes: > Mahmoud Mandour writes: > >> A hash table made using ``g_hash_table_new`` requires manually >> freeing any dynamically allocated keys/values. The two patches >> in this series fixes this issue in hotblocks and hotpages plugins. > > Queued to plugins/next, thanks. Oops, dequeuing and applying v2 ;-) --=20 Alex Benn=C3=A9e