Message ID | 20240906065429.42415-49-mjt@tls.msk.ru |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp663395wrb; Fri, 6 Sep 2024 00:01:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVcwEEnsWI4k/S/rKAXFg0cm13lZ74YTB0OGIs7+v1DmfKwH9/XszeMr/b1HwpKO9WCXR5Fdw==@linaro.org X-Google-Smtp-Source: AGHT+IE/KfFhJC+roibhuL2rF3WTOrSp5eoTUr/nh4OOw79qQqgzxl9+1kUMRoQgI/5OpL3wT0o+ X-Received: by 2002:a05:620a:280c:b0:7a1:e3e5:c8c with SMTP id af79cd13be357-7a99731be3emr175077885a.5.1725606070109; Fri, 06 Sep 2024 00:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725606070; cv=none; d=google.com; s=arc-20240605; b=AOf6BZlWnoM/4PXXIKgj3EBu8d44ZcLeGzIjRcO/L7zXOIpiGOK622vStgKDbPLGYJ B2+tuCmQYy1mgRZXlFpuf/Hl4BEX/EE7bVMSh9IXrfiWZpEwXJTX+jseVMyZWonp6Faf OgALrUrcf/6tZMhHp30qYe+qpO6teY7xsWvOd9qZl2DigGWhMwdPvLlmay4RifiCJK2c HE8y8//l0Ywi+P+c2adp+IvX+gOUGrRCTYEO9ub29+z0kNbhqxkV1d1hEJWdQKbXcdwF FokFW6h4v8VkUR7m9VkY0uXIm/7OcBsiVemJ/xbUoICBXYShVRuhYZU+xYdfzl2djQ+b yKog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from; bh=8WAFiRoMNMFSxEhAH0VURHMNNFDw6dFyTjxgSQ6GU+o=; fh=QCiO3s1cvaqADEyfPI2NiS1m5l7Cs6ciWF636GXs0Bw=; b=bwOzsf74Kf7aX+HNKPsNWutFtop3SRHI+X4nfQMF6BqFK/dGB1i1EfiFA8QznB5JVK 7799dxcdNl1jzRTaR0QpBkrqZd3MnjluyTBm6l+tKI/GRh/2dKjoRy4qokg5n7JEEofm 0p6sGKrlim6ZbMgCE+24+3YDdkELDDFLE4Utnd17ZZmEYNRw5f1E6RO7mSipQ1XZZ9Kb 7d+XixLH/3AbhIZOF+ZNWGc45pfg9hpAAWMrcbglAEnYRjZxqJeJgSZZatZvQlA+3eiR d7FVumBQQzllXzMiVA8glwj4FID9wBe2Pu/1opPASrU6XwrGHPv6jtj+gjQPahVkSxmt 2dgw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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" 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 af79cd13be357-7a98f0299dcsi363098585a.662.2024.09.06.00.01.09 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Sep 2024 00:01:10 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1smSwQ-0007d2-94; Fri, 06 Sep 2024 02:59:34 -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 <mjt@tls.msk.ru>) id 1smSvp-00028m-GK; Fri, 06 Sep 2024 02:58:58 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mjt@tls.msk.ru>) id 1smSvn-0003lk-BF; Fri, 06 Sep 2024 02:58:57 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id D91888C266; Fri, 6 Sep 2024 09:53:14 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id A02E913341E; Fri, 6 Sep 2024 09:54:32 +0300 (MSK) Received: (nullmailer pid 43704 invoked by uid 1000); Fri, 06 Sep 2024 06:54:31 -0000 From: Michael Tokarev <mjt@tls.msk.ru> To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= <berrange@redhat.com>, =?utf-8?q?Phi?= =?utf-8?q?lippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Michael Tokarev <mjt@tls.msk.ru> Subject: [Stable-8.2.7 49/53] crypto/tlscredspsk: Free username on finalize Date: Fri, 6 Sep 2024 09:54:19 +0300 Message-Id: <20240906065429.42415-49-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <qemu-stable-8.2.7-20240906080902@cover.tls.msk.ru> References: <qemu-stable-8.2.7-20240906080902@cover.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: <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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/crypto/tlscredspsk.c b/crypto/tlscredspsk.c index 546cad1c5a..0d6b71a37c 100644 --- a/crypto/tlscredspsk.c +++ b/crypto/tlscredspsk.c @@ -243,6 +243,7 @@ qcrypto_tls_creds_psk_finalize(Object *obj) QCryptoTLSCredsPSK *creds = QCRYPTO_TLS_CREDS_PSK(obj); qcrypto_tls_creds_psk_unload(creds); + g_free(creds->username); } static void