optimized memory usage when checking files fails

This commit is contained in:
Arvid Norberg 2009-05-16 02:25:28 +00:00
parent 5bce212126
commit a2668d9b1b
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,7 @@ release 0.14.4
slash for multi-file torrents
* lowered the default connection speed to 10 connection attempts
per second
* optimized memory usage when checking files fails
release 0.14.3

View File

@ -2453,7 +2453,10 @@ ret:
#else
&& m_storage->error() != error_code(ENOENT, get_posix_category()))
#endif
{
m_piece_data.reset();
return -1;
}
return skip_file();
}