Got rid of some leftover free()s.