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

TEST宏定义中,调用RegisterTestCase函数时,new了一个TestCase,并将返回的指针保存成静态成员变量,但是这个TestCase被Run了之后,却没有delete #175

Open
nanmu77 opened this issue Feb 11, 2025 · 0 comments

Comments

@nanmu77
Copy link

nanmu77 commented Feb 11, 2025

使用作者提供的_CrtDumpMemoryLeaks();函数可以检查到内存的泄露。
不知道是否是我的理解存在错误,还望知道的大神指点一二

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