commit | e3cd5660756223bbe4a2ab607ef019bbf5e9daf9 | [log] [tgz] |
---|---|---|
author | Nick Alcock <nick.alcock@oracle.com> | Wed Jun 12 12:28:45 2024 +0100 |
committer | Nick Alcock <nick.alcock@oracle.com> | Tue Jun 18 13:20:32 2024 +0100 |
tree | 484100f38a2d8f7dbaa18760261bd9f10e51e557 | |
parent | 327356780ab4436b59b666a756323b8bda68cbd4 [diff] |
libctf: fix dict leak on archive-wide symbol lookup error path If a lookup fails for a reason unrelated to a lack of type data for this symbol, we return with an error; but we fail to close the dict we opened most recently, which is leaked. libctf/ * ctf-archive.c (ctf_arc_lookup_sym_or_name): Close dict.