diff --git a/libtransmission/torrent-magnet.c b/libtransmission/torrent-magnet.c index 18c53b6ba..8f4fb2340 100644 --- a/libtransmission/torrent-magnet.c +++ b/libtransmission/torrent-magnet.c @@ -222,6 +222,8 @@ tr_torrentSetMetadataPiece( tr_torrent * tor, tor->info.hashString, path ); tr_torrentSetDirty( tor ); } + + tr_bencFree( &dict ); } evbuffer_free( buf );