Fixed coverity security issue 14348 - Time of check time of use