Message ID | 20240906111324.353230-62-mjt@tls.msk.ru |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp746529wrb; Fri, 6 Sep 2024 04:20:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVFM0CE8qhOLZ/92M15z0iAGUYQUQH9w5kMuD6c9PLmnOFbNIKLR8LEdTzlVqxHHq4kTM9nog==@linaro.org X-Google-Smtp-Source: AGHT+IG52RxH0v0eIlMRr2mBBS0eX8MwG358wPrMw2Mbp9H/50QPDzxZweBilOcKgpb91pZ+5Zpr X-Received: by 2002:a05:620a:4494:b0:79f:12e9:1e50 with SMTP id af79cd13be357-7a99733f328mr235632285a.35.1725621644665; Fri, 06 Sep 2024 04:20:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725621644; cv=none; d=google.com; s=arc-20240605; b=I55CXNzwnSa6oW30k/OvwHm1AaT7Xru9gR94tDx5vxLKiDr7SGWDSfMoshycB6Yt6j wATw/nmdUlbFzLy7yNV2AcodRmXqpqWsmaKQmBEao53Dwi5BbhFAdTUvVwYLRpCbzash AI5zpzQY4iYLolipcZzVFe4e4WY3mpBo2PWINaJ/U4mdZD6iCQzyW8OuYC7cCFqw+OAh yfgSV+tBWbtty4IEzDZx1MXxsXh++7YHIVqupo3kNY2q+RO3V/LHzN4+jpBt7hKw15O0 qmdFkR4UlQekTapR4euuDjGPk3kDrGUFVqKIj5LWGsN1kyVpKOid9M97EucKwbC+Cs+W ckqg== 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=IXQELxM79eWDtWllP81v9yJgN8HGKTlNMb47UZfnWPE9QS2+jycWCXyi04kHzf0L1t AQPZZ438cBY39MU7YeBRlZgqpp+G1M4IvjlAaTraCb600VUazGiNZUOsYpVjmHJGPGxp nJ1YWQmV8lQx1XuPPCWldRZGONsGSDuUvqE4QfOdrVhnfyvFa5a0GNih0C7PVWXH6vLA ZLQYpwwkqx/X4VpZDEyEiSnOpFi07N4aSa1KaozSFxumGj+Ar4dpIMTvNkJ8u6t7Iy3F Pu+9lVk5wdCDMNMz/g0YaAVQfq76leomrsmIMtuOhwxiLm4hV8OACuG0I3bLk6rer6Aq eqIQ==; 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-7a9a1068fa8si6071385a.302.2024.09.06.04.20.44 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Sep 2024 04:20:44 -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 1smWzw-0008Jz-LN; Fri, 06 Sep 2024 07:19:28 -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 1smWzu-000842-Dd; Fri, 06 Sep 2024 07:19:26 -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 1smWzs-0008KK-Cq; Fri, 06 Sep 2024 07:19:26 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 83C2D8C4AF; Fri, 6 Sep 2024 14:12:10 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 8E84E133718; Fri, 6 Sep 2024 14:13:28 +0300 (MSK) Received: (nullmailer pid 353748 invoked by uid 1000); Fri, 06 Sep 2024 11:13:25 -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-9.0.3 62/69] crypto/tlscredspsk: Free username on finalize Date: Fri, 6 Sep 2024 14:13:11 +0300 Message-Id: <20240906111324.353230-62-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <qemu-stable-9.0.3-20240906141259@cover.tls.msk.ru> References: <qemu-stable-9.0.3-20240906141259@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