Involved in a road accident

Salman was instructed by his employer to carry a consignment of vegetables from Cameron Highlands to Kuala Lumpur. The lorry that he was driving was badly damaged when it was involved in a road accident near  Kelang. Since he did not want to wait too long for the lorry to be repaired, Salman sold off all the vegetables to a shop owner for half of its price.

Discuss the position of Salman  with regards to this problem.