Fix of Coverity CID 36760.
Fix for Coverity CID 36759, 36761, 36762.