Files
binutils-gdb/libctf
Nick Alcock ca01922784 libctf: don't leak the symbol name in the name->type cache
This cache replaced a cache of symbol index->ctf_id_t. That cache was
just an array, so it could get away with just being free()d, but the
ctfi_symnamedicts cache that replaced it is a full dynhash with a
dynamically-allocated string as the key.  As such, it needs freeing with
ctf_dynhash_destroy(), not just free(), or we leak parts of the
underlying hashtab, and all the keys.

libctf/ChangeLog:

	* ctf-archive.c (ctf_arc_flush_caches): Fix leak.
2024-04-19 16:14:45 +01:00
..
2024-01-15 14:42:15 +00:00
2021-01-05 14:53:40 +00:00
2023-11-15 12:53:04 +00:00
2024-04-17 09:24:36 +09:30
2024-04-17 09:24:36 +09:30
2024-04-17 09:24:36 +09:30
2024-04-17 09:24:36 +09:30
2024-04-17 09:24:36 +09:30