Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决打开文件时可能造成的野指针问题 #27

Merged
merged 33 commits into from
Jan 27, 2022

Conversation

DaChengTechnology
Copy link
Contributor

No description provided.

@scarsty
Copy link
Owner

scarsty commented Jan 25, 2022

除了322行,其他改动看起来不是必须?

node.nexts.clear();
}
nodes_.clear();
}
delete loader_;
loader_ = create_loader(file); //此处有内存泄漏,不管了
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

咦,有泄漏?!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注释忘记删除

@scarsty scarsty merged commit 31a658c into scarsty:main Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants