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 concatenate -- Patch is attached (Trac #2195) #5985

Open
numpy-gitbot opened this issue Oct 16, 2012 · 1 comment
Open

Memory leak in concatenate -- Patch is attached (Trac #2195) #5985

numpy-gitbot opened this issue Oct 16, 2012 · 1 comment

Comments

@numpy-gitbot
Copy link
Collaborator

Original ticket http://projects.scipy.org/numpy/ticket/2195 on 2012-07-31 by trac user cianci, assigned to unknown.

A temporary array is created with PyArray_malloc, but not released (with PyArray_free) after use.

Parent 26fed25e7f040564e7be4f82d7cd8a8fcc8fa287

Attached patch merely inserts the necessary call to free, in both the success and failure cases.

@numpy-gitbot
Copy link
Collaborator Author

Attachment added by trac user cianci on 2012-07-31: 0001-Fix-memory-leak-in-concatenate.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant