updating info, still getting double free on exit