PR29117: fix fd leak in debuginfod client for cache-miss files
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 4 May 2022 14:26:42 +0000 (10:26 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 4 May 2022 14:27:11 +0000 (10:27 -0400)
commit59158656f3b0b99d8784ddc82c15778813000edc
tree38bea4167f07baa6fbbac19a8a4d249454e30210
parentf1252e4dbe781f75d806ce0b990779548eeeb7a9
PR29117: fix fd leak in debuginfod client for cache-miss files

Correct a nasty fd leak and a few less nasty leaks in the debuginfod
client code.  The nasty one impacts long-lived apps such as debuginfod
servers.

Signed-off-by: Mark Wielaard <mark@klomp.org>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c
debuginfod/debuginfod-find.c