Removed superfluous dictionary allocation

I think this is a memory leak.
Merge pull request #4 from markcatley/master

Removed superfluous dictionary allocation