Set fields to NULL after free'ing them