title: segmentation fault core dump after program runs and displays output
body: <p>I have made some changes to my program that I started with: But for another reason I am getting a segmentation error. It happens after my output and I think it may have to do with my free statement in the destroy function. I ran it through gdb and it told me I was trying to access a 0X000000d memory location which is weird because I can print out the memory location of my struct and it shows something different. I know I have probably missed something very small. any help would be greatly appreciated thanks!</p>
  
  <p>had to take m code down since it is an on going project in school thanks for the replies I will post it back on once we have a grade.</p>