util: Fix crash when removing entries during hash iteration
Commit 9677cd33 made it possible to remove current entry when iterating through all hash entries. However, it didn't properly handle a special case of removing first entry assigned to a given key which contains several entries in its collision list.
Showing
想要评论请 注册 或 登录