Don't reference a freed variable after freeing it. TRQ-2608.