[NumPy-Tickets] [NumPy] #2195: Memory leak in concatenate -- Patch is attached

NumPy Trac numpy-tickets@scipy....
Tue Jul 31 11:42:57 CDT 2012


#2195: Memory leak in concatenate -- Patch is attached
------------------------+---------------------------------------------------
 Reporter:  cianci      |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  devel      
 Keywords:              |  
------------------------+---------------------------------------------------
 A temporary array is created with PyArray_malloc, but not released (with
 PyArray_free) after use.

 Parent commit: 26fed25e7f040564e7be4f82d7cd8a8fcc8fa287

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

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2195>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list