Finish sal_free

Needs review.