Merge branch 'seiyap70-patch-1'

This commit is contained in:
Mike Gelfand 2016-12-09 22:02:24 +03:00
commit 9d562ab25a
1 changed files with 1 additions and 0 deletions

View File

@ -294,6 +294,7 @@ tr_torrentSetMetadataPiece (tr_torrent * tor, int piece, const void * data, in
if (success && !tr_getBlockSize (info.pieceSize))
{
tr_torrentSetLocalError (tor, "%s", _("Magnet torrent's metadata is not usable"));
tr_metainfoFree (&info);
success = false;
}