Tidying
Merge branch 'master' of https://github.com/harmanpa/crecon
Freeing/nulling/tidying
Correct malloc