Merge pull request #122 from monich/master

Memory leak in provision_get_settings