Fixed Coverity tasks : 72722, 72706