We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
valgrind测试存在内存泄露,makeLogData 内存没有释放,测试代码如下:
The text was updated successfully, but these errors were encountered:
为了提高性能, 会缓存不高于200个被释放的LogData来复用, 相当于对象池.
Sorry, something went wrong.
恩,看到了小于200的判断,但是main函数结束了,对象析构函数并未做delete处理...,虽然说程序都已经结束了。
可以少写一部分代码.
No branches or pull requests
valgrind测试存在内存泄露,makeLogData 内存没有释放,测试代码如下:
The text was updated successfully, but these errors were encountered: