rtorrent
rtorrent copied to clipboard
Fixed a few memory leaks
Backports a few memory leak fixes from jesec/rtorrent .
Requires the following rakshasa/libtorrent pull request to be merged first. https://github.com/rakshasa/libtorrent/pull/223
This PR (used with rakshasa/libtorrent#223) seems to be causing issues when SCGI is using a socket (network.scgi.open_local) instead of a port (network.scgi.open_port). rTorrent crashes with, munmap_chunk(): invalid pointer Aborted
I'm going to cherry pick these commits and create separate pull requests. This will allow @rakshasa to choose which ones to merge. Not all of these fixes are stable apparently. But they have a significant impact reducing software memory leaks.