[DF-5048] Fix minor leaks.
Merge branch 'to_master' of https://github.com/dava/dava.framework into to_master
Merge branch 'to_master' of https://github.com/dava/dava.framework into to_master