proj/portage-utils:master commit in: /

"Fabian Groffen" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786792225.9f9d39f1dec68ab7274d8c18a61367e35ace035f.grobian@gentoo>
commit:     9f9d39f1dec68ab7274d8c18a61367e35ace035f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 15 11:10:25 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 11:10:25 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=9f9d39f1

main: fix leak (Coverity CID 562689)

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main.c b/main.c
index ddfbbd51..cb5fa103 100644
--- a/main.c
+++ b/main.c
@@ -1243,6 +1243,8 @@ initialize_portage_env(void)
 			}
 		}
 
+		array_free(usemasks);
+
 		if (usebufp != usebuf)
 			free(usebufp);
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.