Fix potential memory leak in EnginioModel
Merge pull request #125 from nierob/smallFixups

Fix potential memory leak in EnginioModel