Resource leaks fixes CID 1134987
Resource leaks fix when no args
Resource leaks fix when no args
Resource leaks fixes CID 1134970
Resource leaks fixes CID 1134957
Resource leaks fixes
Resource leaks fixes