From nobody Mon Nov 25 10:27:15 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1716374978; cv=none; d=zohomail.com; s=zohoarc; b=ajvWn9ieWruWfAcJjj6gFhYGDih2iQYkwYfHNIrQ6ktul8hJXYpk4lk5Z3Sd3YH9LWjWVjXzb+/OFYO03Xf1KxljTjbyzZC//1NDq7kRiFNl4zKRGxcCQNTXJrsEqsnZEel6qi9cbqt59tVu9aX0pbVE5xRm4HW27oFbrXNL/lA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716374978; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=CwpNU0IOG2gR/Zc+cT2zm9xVHtaU1yJX2qDLOGZQyH4=; b=dZogUXUSi5WLhQ2j7bLaTxoZCItMqyti3kOri6o2XfMkvOe7RyFc4oLX7eQk2d39/34tjEV6jOduJIVD3WdkcpLe/XmWoMlphflLoDTuoHTgBjgMqhT6vraCv5CXhveGAo5zWpaoH6H+hMAN276C5rgGqCnkZZyD9TuwjEekzG8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17163749789661004.3522574168727; Wed, 22 May 2024 03:49:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9jWj-0000Qu-Ic; Wed, 22 May 2024 06:48:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9jWf-0000Q6-S4 for qemu-devel@nongnu.org; Wed, 22 May 2024 06:48:53 -0400 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9jWd-0002le-V7 for qemu-devel@nongnu.org; Wed, 22 May 2024 06:48:53 -0400 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-23f9d07829bso2580885fac.3 for ; Wed, 22 May 2024 03:48:51 -0700 (PDT) Received: from localhost ([157.82.204.135]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-6f4d2afa7b5sm22120756b3a.163.2024.05.22.03.48.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 May 2024 03:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1716374930; x=1716979730; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=CwpNU0IOG2gR/Zc+cT2zm9xVHtaU1yJX2qDLOGZQyH4=; b=bvU2muSuSiBfvEEbPrKXCVK2tiQdF1FRSGQ1GmDrZawgSynPRP1G9vgTsGREbv/4Om R5rH1LZ1RtAJ/wIvOW3KgNKElwLvamwjNTB19ePNwQKggJllH/B8uwoJfTst9pUghpXO gZH2kOYfc2142ac2aY3yL56VrgRo9tKXtGQHBud4ZE5Cm812t/suSPbUsMdEQaw/MwCq BWv3/+ZPcaNCg1Hh9T5PfVa43D43edw8tIfKBSuQEDvN/DVWaYVh0/88K36sAiLmUgvx ztU3RkColKMaF1fxS7+tO58GySnPVF8tLnBAvAI7u7Q3JLwHZSsH5MKo5XnRGyujscAl hCdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716374930; x=1716979730; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CwpNU0IOG2gR/Zc+cT2zm9xVHtaU1yJX2qDLOGZQyH4=; b=Y9o1pEUpMbtJ8f2t7rTP2+/5IPIRPbiDavXP+gnqcddzsKbXmcs8/DURYvafx1pP0F U8xyRFsqxc2bZ3oNCSEseAIAFoJ0bnrklHXdjxA0CyYOfcIbngDZm4LsnnVZioCpZ+z4 hIV9SFk8w9F/f/eTXu1kn2hMgBj0Lg9V7B430NmFwQUWpGMK+Grx9lTUmJ9uMzDcKw5Y jWMI/2YGuiLAAZjc3zVDBZb0fkCkvu0TgJ6HifnKdBPwVwvdN0yZwlhfeXzt3i4BJUwj u+A+ZQlw7CQe2Z94Qy4hDZ2abQWPaMxkfypk7jMJmwYjIdzlTgkS4Gb0XVXACqvlHC+5 pY0Q== X-Gm-Message-State: AOJu0Yx8vgaxsMuCZ0+vwFbK4/Zf3VC4c+sNScHAcxghIzDfSCM+T4RM Ll16vi48Ro9H/VQQKcIrbnJNbVpTkTvJ01+9Ntxh9zzwr7ctajL4TNBrcbDCkYg= X-Google-Smtp-Source: AGHT+IE8UFIJdykobh8QqUszSeIPn4HDpPAWe+UJfgwwqU/dw3STvADjez3vQtZPEktAjqZcYnYTeA== X-Received: by 2002:a05:6870:6113:b0:24c:553d:7ac4 with SMTP id 586e51a60fabf-24c686fa93emr1751595fac.0.1716374930528; Wed, 22 May 2024 03:48:50 -0700 (PDT) From: Akihiko Odaki Date: Wed, 22 May 2024 19:48:36 +0900 Subject: [PATCH v3 1/3] qemu-keymap: Free xkb allocations MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240522-xkb-v3-1-c429de860fa1@daynix.com> References: <20240522-xkb-v3-0-c429de860fa1@daynix.com> In-Reply-To: <20240522-xkb-v3-0-c429de860fa1@daynix.com> To: Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , Beraldo Leal , Richard Henderson , Laurent Vivier , Michael Tokarev , Laurent Vivier Cc: qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-01a33 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2001:4860:4864:20::2d; envelope-from=akihiko.odaki@daynix.com; helo=mail-oa1-x2d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1716374980469100001 This fixes LeakSanitizer complaints with xkbcommon 1.6.0. Signed-off-by: Akihiko Odaki --- qemu-keymap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qemu-keymap.c b/qemu-keymap.c index 8c80f7a4ed65..7a9f38cf9863 100644 --- a/qemu-keymap.c +++ b/qemu-keymap.c @@ -237,6 +237,9 @@ int main(int argc, char *argv[]) xkb_state_unref(state); state =3D NULL; =20 + xkb_keymap_unref(map); + xkb_context_unref(ctx); + /* add quirks */ fprintf(outfile, "\n" --=20 2.45.1