POD hash map - memory leak fixed