[Rpm-maint] [rpm-software-management/rpm] Fix file handle leaks (PR #3068)
Florian Festi
notifications at github.com
Mon Apr 29 15:58:30 UTC 2024
@ffesti commented on this pull request.
> return 1;
}
if (!fpr || strcmp(got, fpr) != 0) {
fprintf(stderr, "%s:\n got '%s'\nexpected '%s'\n",
filename, got, fpr ? fpr : "<none>");
free(got);
+ fclose(f);
This should probably also free(fp);
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3068#pullrequestreview-2028919643
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3068/review/2028919643 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240429/8bf6e818/attachment.html>
More information about the Rpm-maint
mailing list