commit: b5b5d2a2302d6110a3df6bf9ed53226306c8da07
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 19:23:20 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> 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 <grobian <AT> 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;
}