Fixed bug in the for loop that frees each of the "ins" fields for each item