When is the price surety discharged?

Facts of the case