Repository navigation
Fix memory leak in tostring_rgba_minimize(). (#3197) - #3207
Merged
Merged
Conversation
Member
|
The build failed in 3.3: And unit tests failed for py2.6 and py2.7. |
Member
|
The test failures are PEP8 from a different PR (from me!) |
Contributor
Author
|
Build fixed and tested by me on 2.7 and 3.3 here. Seems to pass (build at least) on Travis 3.3. |
Member
|
I am unclear on why pep8 is failing on this PR, but not on the others. |
Member
|
Yeah -- I'm not sure about the PEP8 thing either. I've just fixed it on master #3210 in hopes we can fix this here. |
The APIs being used in PyCXX (and Python C-API) were not actually taking ownership. Instead, make Python allocate memory.
Contributor
Author
|
Rebased so that it builds on 3.3. and 3.4, not 3.2. Hoping by magic this fixes the weird memory issues we saw on 3.3 on last build. |
Member
|
I think this is passing enough -- i.e. it passes everywhere master passes. Merging. Thanks, @dopplershift. |
mdboom
added a commit
that referenced
this pull request
Jul 11, 2014
Fix memory leak in tostring_rgba_minimize(). (#3197)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The APIs being used in PyCXX (and Python C-API) were not actually taking
ownership. Instead, make Python allocate memory.