attractivechaos/klib — pull request #28 by piki (2014-02-09 08:26:55+00:00)
Title: fix the leak that happens if krealloc fails

Make sure `new_flags` doesn't leak (i.e., gets freed) if either of the `krealloc`s fails when resizing a hash table.