mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
All patches in this commit were from Josef Drexler.
* Fixes a segfault when configure finds execinfo.h. * Fix compile errors and warnings with g++ 4.3.x. * Fixes an interoperability issue in the get_peers handling, now it behaves according to the clarified BEP-0005. Also fixes a minor issue of not being able to generate error packets. * Fix a crash in scgi_local or scgi_port when calling freeaddrinfo with a NULL pointer. * Only check the filename cache for loading tied torrents (e.g. from watch dirs) but not manually loaded ones via <enter>/<bs>, to allow loading those again (ticket #1227). * Fix display of multi-byte characters with attributes (i.e. utf-8 filenames in the file list), and make the list aware of characters occupying two screen positions. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1064 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -261,10 +261,10 @@ apply_scgi(const std::string& arg, int type) {
|
||||
break;
|
||||
}
|
||||
|
||||
rak::address_info::free_address_info(ai);
|
||||
if (ai != NULL) rak::address_info::free_address_info(ai);
|
||||
|
||||
} catch (torrent::local_error& e) {
|
||||
rak::address_info::free_address_info(ai);
|
||||
if (ai != NULL) rak::address_info::free_address_info(ai);
|
||||
|
||||
throw torrent::input_error(e.what());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user