Fixed reinitialization after freeing params
Merge pull request #81 from s7anley/master

Fixed reinitialization after freeing params