P403n1x87 / echion

Near-zero-overhead, in-process CPython frame stack sampler with async support
MIT License
14 stars 2 forks source link

fix: memory leak in Python bytes object retrieval #18

Closed P403n1x87 closed 1 year ago

P403n1x87 commented 1 year ago

Fixed a memory leak when retrieving byte arrays (line number tables) that were never deallocated after use. We move to automatic memory management with smart pointers to allow for the clean up to happen.