coverity#708922 Use after free

Change-Id: I54c098ca4744d33d2f8e1a7799ba6bd5620ed987