Possibly fixed memory leak, uh