diff options
Diffstat (limited to 'libtorrent/src/peer_connection.cpp')
-rwxr-xr-x | libtorrent/src/peer_connection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtorrent/src/peer_connection.cpp b/libtorrent/src/peer_connection.cpp index dbc6f4e43..38e80c895 100755 --- a/libtorrent/src/peer_connection.cpp +++ b/libtorrent/src/peer_connection.cpp @@ -2402,6 +2402,7 @@ namespace libtorrent if (ret != r.length || m_torrent.expired()) { + if (j.buffer) m_ses.free_disk_buffer(j.buffer); boost::shared_ptr<torrent> t = m_torrent.lock(); if (!t) { |