Fix memory leaks found by memleak_hawaii3.py by mdboom · Pull Request #5359 · matplotlib/matplotlib · GitHub
Skip to content

Fix memory leaks found by memleak_hawaii3.py#5359

Merged
WeatherGod merged 1 commit into
matplotlib:masterfrom
mdboom:memleak-fixes
Oct 30, 2015
Merged

Fix memory leaks found by memleak_hawaii3.py#5359
WeatherGod merged 1 commit into
matplotlib:masterfrom
mdboom:memleak-fixes

Conversation

@mdboom

@mdboom mdboom commented Oct 30, 2015

Copy link
Copy Markdown
Member

Sorry I couldn't sort this one out before 1.5.0.

@WeatherGod

Copy link
Copy Markdown
Member

@mdboom

mdboom commented Oct 30, 2015

Copy link
Copy Markdown
Member Author

No -- convert_to_string is only called from one place: Py_convert_to_string.

@pelson

pelson commented Oct 30, 2015

Copy link
Copy Markdown
Member

Do you want to target the v1.5.x branch?

@mdboom mdboom added this to the next point release (1.5.0) milestone Oct 30, 2015
@mdboom

mdboom commented Oct 30, 2015

Copy link
Copy Markdown
Member Author

Might as well target 1.5.x

EDIT: But we can just merge to master and backport after.

@mdboom mdboom modified the milestones: next point release (1.5.0), Next bugfix release (1.5.1) Oct 30, 2015
WeatherGod added a commit that referenced this pull request Oct 30, 2015
Fix memory leaks found by memleak_hawaii3.py
@WeatherGod WeatherGod merged commit 2e880f2 into matplotlib:master Oct 30, 2015
WeatherGod added a commit that referenced this pull request Oct 30, 2015
Fix memory leaks found by memleak_hawaii3.py
@WeatherGod

Copy link
Copy Markdown
Member

backported to v1.5.x as a450f99

@efiring

efiring commented Oct 30, 2015

Copy link
Copy Markdown
Member

@mdboom Thanks very much for tracking this down. Out of curiosity: do you have a simple explanation for why the leak was so much larger on Python 3 than 2?

@mdboom

mdboom commented Oct 30, 2015

Copy link
Copy Markdown
Member Author

@mdboom mdboom deleted the memleak-fixes branch November 10, 2015 02:46
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

Successfully merging this pull request may close these issues.

5 participants