First thing this is not so unusual in present day scenario.
The primary lookout in such circumstance would be the stated purpose of the transfer in the first instance. If it were a genuine sale there is no reason why the liability should be written back. Where there is no stated purpose of the transfer and the then recorded facts and circumstances do not prevent an inference that the transaction is in nature of gift. Then no liability should be booked in the accounts instead the gift be valued at the fair value and recorded in the books debit to the asset and credit to the revenue.