If any inmate of a state correctional facility dies, is discharged, or escapes, leaving funds in the inmate's institutional account or other tangible personal property of value, a correctional facility official shall apply these funds towards the inmate's obligations as provided for in §