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

Fixed webp native memory leak #2074

Closed
wants to merge 1 commit into from

Conversation

howardpang
Copy link

Motivation (required)

Fixed bug #2073

Test Plan (required)

it is a obvious bug, and i found the native memory do not increase when i use this patch

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@lambdapioneer
Copy link
Contributor

Thanks @howardpang ! I'll run this against our internal tests once we have the CLA :)

@howardpang
Copy link
Author

@facebook-github-bot i have signed CLA just now

@lambdapioneer
Copy link
Contributor

Hi @howardpang, can you try the CLA flow again? If it's successful then the bot will add a tag "CLA Signed" to this PR (like here #2075).

Let me know when trying again doesn't work and I'll forward it to the team that maintains that flow

@howardpang
Copy link
Author

@lambdapioneer i have try again, and the result :

There were some errors submitting your CLA:
Email is already associated with an existing contributor.

@lambdapioneer
Copy link
Contributor

Hi @howardpang, can you mail cla@fb.com with a link to this PR? They should be able to sort it out quickly :) Seems that the GitHub username that was entered had a typo.

@howardpang
Copy link
Author

@lambdapioneer OK

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lambdapioneer has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@lambdapioneer lambdapioneer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good (y) see the inline comment for a change request before I can merge this.

Thanks a lot!

throwIllegalStateException(pEnv, "unable to get frame");
WebPDemuxReleaseIterator(&iter);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also call WebPDemuxReleaseIterator(&iter); in the if (!spFrameNativeContext) branch in lines 451-453

@howardpang howardpang closed this Mar 26, 2018
@howardpang howardpang deleted the webp_native_patch branch March 26, 2018 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants