mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
fix 20-byte memory leak every time we stopped a torrent. :/
This commit is contained in:
@@ -288,9 +288,10 @@ onStoppedResponse( tr_session * session,
|
||||
long responseCode UNUSED,
|
||||
const void * response UNUSED,
|
||||
size_t responseLen UNUSED,
|
||||
void * torrent_hash UNUSED )
|
||||
void * torrent_hash )
|
||||
{
|
||||
dbgmsg( NULL, "got a response to some `stop' message" );
|
||||
tr_free( torrent_hash );
|
||||
onReqDone( session );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user