fix for fody memory leak
Merge pull request #394 from SimonCropp/master

fix for fody memory leak