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

Bug: Project5_CNN wrong use of share_ptr 共享指针的用法不对 #2

Open
2catycm opened this issue Mar 6, 2022 · 0 comments
Open
Assignees

Comments

@2catycm
Copy link
Owner

2catycm commented Mar 6, 2022

In Project5, I used share_ptr for dynamic array memory management.

However,I used it in a wrong way which can make memory leak.
For detailed infomation and examples, see the comments later.

Project5 中我用share_ptr管理动态数组的内存,但是用法是错的,会导致内存泄漏,详情见下文。

@2catycm 2catycm self-assigned this Mar 6, 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

No branches or pull requests

1 participant