[PATCH v4 01/14] BFD: Remove null pointer checks for `bfd_hash_table_free' calls

Jan Beulich jbeulich@suse.com
Fri Jan 16 09:58:06 GMT 2026


On 13.01.2026 02:44, Maciej W. Rozycki wrote:
> From: Maciej W. Rozycki <macro@redhat.com>
> 
> Given that as from commit 90e5645309be ("libiberty: Make `objalloc_free' 
> `free'-like WRT null pointer") `bfd_hash_table_free' now returns with no 
> action taken when called for a hash table with no allocation present, 
> remove null pointer checks guarding invocations.

Okay (at least close to obvious).

Jan


More information about the Binutils mailing list