-
Notifications
You must be signed in to change notification settings - Fork 115
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
代码中存在gd函数内存泄露 #9
Comments
用ab命令,并发测试过 |
请问一下,解决了吗? 是否会报 kernel: nginx[6710]: segfault at 0 ip 00007fc5102ef167 sp 00007ffdc2e8dad0 error 4 in libgd.so.2.0.0[7fc5102e6000+23000] 错误... |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在make_thumb函数中,562行。
需要在562行之前,添加一个语句"gdImageDestroy(info->dst_im);",用来释放make_thumb函数开始的地方分配的内存。
The text was updated successfully, but these errors were encountered: