Replacing some calls to free() with ast_free().