apply -Wno-error for GCC 12.
this code seems broken. hash_table_del() is called on a ptr that was either just freed (realloc() case) or will be freed (xfree_impl() case), but in both cases hash_tab
apply -Wno-error for GCC 12.
this code seems broken. hash_table_del() is called on a ptr that was either just freed (realloc() case) or will be freed (xfree_impl() case), but in both cases hash_table_del() will free() the same address. for the realloc() case, as it's after free(), it's UB. for the xfree_impl() case, it can be solved by not free()ing here.
show more ...
|