added two missing deallocates in point output