trq-1599 Fixed a reference to a freed job and initialized a stack value.