commit:     af89a8928df6d243b684f973beb2f50d0afa678f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 18:32:02 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jan 26 18:32:02 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=af89a892

qtegrity: fix file stream leak, CID 557224

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

 qtegrity.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qtegrity.c b/qtegrity.c
index 0d6ddd58..7b23c985 100644
--- a/qtegrity.c
+++ b/qtegrity.c
@@ -462,6 +462,7 @@ int qtegrity_main(int argc, char **argv)
                        puts("Error flushing stream!");
 
                free(file_digest);
+               fclose(fp_qtegrity_custom);
        }
 
        if (state.add)

Reply via email to