Merge remote-tracking branch 'upstream/master'
Free explicitly allocated capability data
Explicitly deallocate client identity
Merge pull request #444 from CodaFi/fix-leaks

Fix leaks.