redjack/libcork — Issue #2: Memory leak with CORK_HASH_TABLE_MAP_DELETE
Author: dcreager
Created: 2012-02-29 23:15:17+00:00
State: open

If you use the `cork_hash_table_map` function to delete the entries in a hash table (by returning `CORK_HASH_TABLE_MAP_DELETE` as the result of the mapping function) then you get a memory leak. The mapper removes the current element from its hash table bin, but doesn't `free` the entry instance.