Fix resource leak
Fix reporting uninitialized error value
Merge branch 'fixes' of https://github.com/AMDmi3/uTox into AMDmi3-fixes
..
Merge branch 'AMDmi3-fixes'