Fixed a hashmap memory leak I kept delaying

There was a memory leak I tried to fix in the past, but the fix would
introduce seg faults. After further investigation I realized that the
problem was me failing to zero-fill the memory space (which I was using
for my comparison logic) at initialization.