deeptools / pyBigWig

A python extension for quick access to bigWig and bigBed files
MIT License
216 stars 48 forks source link

fix leak of objects extracted from numpy string arrays #53

Closed pmarks closed 6 years ago

pmarks commented 6 years ago

the PyObject* returned by PyArray_GETITEM needs to have it's ref count reduced. Was leading to a large memory leak.

dpryan79 commented 6 years ago

Thanks for finding/fixing this, I'll try to push out a new release with this ASAP.

dpryan79 commented 6 years ago

Version 0.3.8 is live on pypi and should be available via bioconda tonight (assuming TravisCI cooperates).

pmarks commented 6 years ago

@dpryan79 -- thanks!