Fix memory leak, moar comments!