Change signature of QueueHash::find()
Refactor
Remove malloc calls completely
Revert "Remove malloc calls completely"

This reverts commit 4b5d8164e29fc9cd21236146b9f49fba02365cc4.
Move definitions