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

native memory leak 是不是针对 unique_ptr 下new 对象的 case 存在误报的情况? #254

Open
weirenren opened this issue Aug 30, 2023 · 5 comments
Assignees

Comments

@weirenren
Copy link

image

image

@Xinmeng322
Copy link

Xinmeng322 commented Aug 30, 2023 via email

@weirenren
Copy link
Author

工具显示 unique_ptr<Java_PackageInfo> 这一行有leak

@alhah alhah assigned alhah and lbtrace and unassigned alhah Aug 30, 2023
@alhah
Copy link
Member

alhah commented Aug 30, 2023

代码和错误信息再贴全一点

@weirenren
Copy link
Author

@alhah
工具检测出来的代码行:
image
image

调用该方法的代码入口,有方法内局部变量unique_ptr 包裹,:
image

@weirenren
Copy link
Author

@Xinmeng322 @alhah Hi 有任何新的发现么🤔,感谢

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

4 participants