-
Notifications
You must be signed in to change notification settings - Fork 92
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
xfrp项目内存泄漏 #66
Comments
@workmengxue 谢谢反馈。请问是什么版本测试发现的呢? |
最新的
staylightblow8 ***@***.***> 于2024年11月1日周五 14:16写道:
… @workmengxue <https://github.com/workmengxue> 谢谢反馈。请问是什么版本测试发现的呢?
—
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEYS6CDOH2J2QL6LWREYS5DZ6MMC3AVCNFSM6AAAAABQ7RFJW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRGM3DANJRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@workmengxue 好的,我自己验证一下,再次感谢反馈! |
config.c 里面涉及的 strdup 要回收 下面有些泄漏,但是没有太大所谓。 开源不易,难得作者那么好的开源,略尽绵力。 |
@lawishere 能具体说什么地方有内存泄露吗?
config.c里面strdup的内容生命周期跟进程是一样的,这部分进程推出后自然就会释放,所以这部分就没有特意对其进行释放
stream 不是指针,这部分没有泄露点
npr如果不释放就内存泄露了, new_proxy_resp_unmarshal函数里面calloc了这个对象
需要具体分析一下问题,这个描述有点太笼统了
谢谢支持! |
运行xfrp项目在小内存设备上,观测available内存,每次tcp连接后会泄漏408字节。
The text was updated successfully, but these errors were encountered: