Set values to NULL when we free them