fix un-malloced free for development
Merge branch 'master' of https://github.com/andrewstucki/registration