mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(trunk libT) fix magnet code memory leak
This commit is contained in:
parent
034023f148
commit
78a2d66e15
1 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,8 @@ tr_torrentSetMetadataPiece( tr_torrent * tor,
|
||||||
tor->info.hashString, path );
|
tor->info.hashString, path );
|
||||||
tr_torrentSetDirty( tor );
|
tr_torrentSetDirty( tor );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr_bencFree( &dict );
|
||||||
}
|
}
|
||||||
|
|
||||||
evbuffer_free( buf );
|
evbuffer_free( buf );
|
||||||
|
|
Loading…
Reference in a new issue