From e1eaae5d19a04c402127339687e7b45b2d168bea Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 29 Jul 2007 19:16:13 +0000 Subject: [PATCH] fix small memory leak --- libtransmission/fastresume.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtransmission/fastresume.c b/libtransmission/fastresume.c index 156a0c8d5..44f3b3083 100644 --- a/libtransmission/fastresume.c +++ b/libtransmission/fastresume.c @@ -254,6 +254,7 @@ tr_fastResumeSave( const tr_torrent_t * tor ) assert( walk - buf == len ); fastResumeWriteData( FR_ID_SPEED, buf, 1, walk-buf, file ); + tr_free( buf ); }