You have two ways to handle the deposit
When your ownership ends, you can transfer the amount left after lawful deductions to the buyer and notify the tenant, or return the balance with an itemized accounting. If you transfer it, give notice by personal delivery or first-class mail. The notice must state any claims against the deposit, the amount transferred, and the buyer’s name, address, and phone number.
If the deposit steps are skipped, the buyer can share liability. Read California Civil Code §1950.5.
