mirror of
https://github.com/transmission/transmission
synced 2025-02-04 13:32:19 +00:00
fix 20-byte memory leak every time we stopped a torrent. :/
This commit is contained in:
parent
850807c626
commit
77233ab16f
1 changed files with 2 additions and 1 deletions
|
@ -288,9 +288,10 @@ onStoppedResponse( tr_session * session,
|
||||||
long responseCode UNUSED,
|
long responseCode UNUSED,
|
||||||
const void * response UNUSED,
|
const void * response UNUSED,
|
||||||
size_t responseLen UNUSED,
|
size_t responseLen UNUSED,
|
||||||
void * torrent_hash UNUSED )
|
void * torrent_hash )
|
||||||
{
|
{
|
||||||
dbgmsg( NULL, "got a response to some `stop' message" );
|
dbgmsg( NULL, "got a response to some `stop' message" );
|
||||||
|
tr_free( torrent_hash );
|
||||||
onReqDone( session );
|
onReqDone( session );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue