Possible memory leak fix, formatting