Fix to correctly detect different size lists as free
Use int for list_free
Rename len