Fixed #4734 (False 'Possible null pointer dereference')