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

Memory leak in imageByCroppingToRect #50

Open
Maxtws opened this issue Nov 3, 2017 · 3 comments
Open

Memory leak in imageByCroppingToRect #50

Maxtws opened this issue Nov 3, 2017 · 3 comments

Comments

@Maxtws
Copy link

Maxtws commented Nov 3, 2017

UIImage+AGKQuad.m
Line 53:

  • (UIImage *)imageByCroppingToRect:(CGRect)rect

croppedImage is not released.

@hfossli
Copy link
Contributor

hfossli commented Nov 7, 2017

Thanks for reporting this error. I'll try to have this fixed in the next release. If you have a pull request I'll be happy to do the release very fast.

@mariovillamizar
Copy link
Contributor

I think I fixed this bug. I did a pull request: #52. Please take a look.

@hfossli
Copy link
Contributor

hfossli commented Jan 20, 2018

Awesome! Thanks. I’ll keep this issue open until I have released a new version. Available on master branch now.

@hfossli hfossli closed this as completed Jan 20, 2018
@hfossli hfossli reopened this Jan 20, 2018
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

3 participants