From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 075A2138351 for ; Sun, 19 Jan 2020 19:36:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 399E9E09FB; Sun, 19 Jan 2020 19:36:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B2F6E09F9 for ; Sun, 19 Jan 2020 19:36:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3810A34E26C for ; Sun, 19 Jan 2020 19:36:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC810114 for ; Sun, 19 Jan 2020 19:36:12 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1579461800.b5b5d2a2302d6110a3df6bf9ed53226306c8da07.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qfile.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: b5b5d2a2302d6110a3df6bf9ed53226306c8da07 X-VCS-Branch: master Date: Sun, 19 Jan 2020 19:36:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b9d21b5-c1a9-48a0-9fd2-162479ecdb46 X-Archives-Hash: cecce6d0a6c68bef2459f52503baa313 commit: b5b5d2a2302d6110a3df6bf9ed53226306c8da07 Author: Fabian Groffen gentoo org> AuthorDate: Sun Jan 19 19:23:20 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Jan 19 19:23:20 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=b5b5d2a2 qfile: fix Coverity 206537 Resource leak Signed-off-by: Fabian Groffen gentoo.org> qfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qfile.c b/qfile.c index 3036be0..d104848 100644 --- a/qfile.c +++ b/qfile.c @@ -143,6 +143,7 @@ static int qfile_check_plibreg(void *priv) if (line) free(line); + fclose(fp_plibreg); return found; }