troydhanson / uthash

C macros for hash tables and more
Other
4.18k stars 926 forks source link

HASH_CLEAR after some tests, to eliminate "memory leak" warnings. #192

Closed Quuxplusone closed 4 years ago

Quuxplusone commented 4 years ago

Fixes #190.

@noloader, if you could post the full list of (benign) leaks found by -fsanitize=address, I'll add their fixes to this PR. Sadly I don't have the ability to run -fsanitize=address locally.

Quuxplusone commented 4 years ago

Merged c62796cd7bb90544f56c28bbb788ea0aa876a23d.