Resource leaks fixes CID 1134970

Resource leaks fixes CID 1134970