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

Isolate variables to the local scope #334

Merged
merged 1 commit into from
May 9, 2018

Conversation

edvinasbartkus
Copy link
Contributor

With my lab testing I get the following error: The following leaks were detected:intPosX, intPosY, intWidth, intHeight, objHyperlink, strImageData, strImagePath

Seems like after the change the variables should be isolated for the local scope.
OLD:
: addImageDefinition: function addImageDefinition(strImagePath, intPosX, intPosY, intWidth, intHeight, strImageData, target) {

NEW:
: addImageDefinition: function addImageDefinition(objImage, target) {

How can I make this PR acceptable for merge and new version release?

@gitbrent gitbrent self-assigned this May 8, 2018
@gitbrent gitbrent merged commit 7377b44 into gitbrent:master May 9, 2018
@gitbrent gitbrent added this to the 2.2.0 milestone May 9, 2018
@gitbrent
Copy link
Owner

gitbrent commented May 9, 2018

Hi @edvinasbartkus,

Thanks for patch!

These were vestiges of old method parameters and weren't rescoped after they were removed.

gitbrent pushed a commit that referenced this pull request May 14, 2018
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
Isolate variables to the local scope
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
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.

2 participants