rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.07k stars 408 forks source link

Fixed a few memory leaks #1095

Closed stickz closed 4 months ago

stickz commented 3 years ago

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

samad909 commented 2 years ago

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

stickz commented 1 year ago

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.