If the building inspector has the structure demolished, reasonable effort shall be made to salvage reusable materials for credit against the cost of demolition. The proceeds of any moneys received from the sale of salvaged materials shall be used or applied against the cost of the demolition and removal of the structure, and proper records shall be kept showing application of sales proceeds. Any such sale of salvaged materials may be made without the necessity of public advertisement and bid. The building inspector and governing authority are relieved of any and all liability resulting from or occasioned by the sale of any such salvaged materials, including, without limitation, defects in such salvaged materials.