fix small memory leak
This commit is contained in:
parent
e429ebcb1b
commit
e1eaae5d19
|
@ -254,6 +254,7 @@ tr_fastResumeSave( const tr_torrent_t * tor )
|
||||||
|
|
||||||
assert( walk - buf == len );
|
assert( walk - buf == len );
|
||||||
fastResumeWriteData( FR_ID_SPEED, buf, 1, walk-buf, file );
|
fastResumeWriteData( FR_ID_SPEED, buf, 1, walk-buf, file );
|
||||||
|
tr_free( buf );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue