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

gdImageScaleTwoPass() can leak memory #173

Closed
cmb69 opened this issue Jul 13, 2015 · 2 comments
Closed

gdImageScaleTwoPass() can leak memory #173

cmb69 opened this issue Jul 13, 2015 · 2 comments
Labels

Comments

@cmb69
Copy link
Contributor

cmb69 commented Jul 13, 2015

In gdImageScaleTwoPass() a tmp_im is created with gdImageCreateTrueColor(), but later freed with gdFree() instead of gdImageDestroy(). This is likely to cause a memory leak.

See also the related downstream bug report.

@kaplanlior
Copy link

@cmb69
Copy link
Contributor Author

cmb69 commented Jul 7, 2016

@kaplanlior Thanks! That info is yet missing in the changelog of PHP 5.6.12 and 7.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants