[SourceEditor] Free parsed document on destroy.