If error is set, list has been free'd, and is NULL