[PATCH] hashmap: Entry pointers were not freed when map was destroyed