Committing changes so that leaks are no longer present, will work on the invalid reads next.