Removed superfluous dictionary allocation

I think this is a memory leak.