From e8b4465a0050741eb777dd5d0c36564b42ecca48 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 14 Oct 2008 17:27:59 +0000 Subject: [PATCH] fix another oops from yesterday's tr_buildPath() reworking --- libtransmission/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/platform.c b/libtransmission/platform.c index bca1c64ce..d7a303dfb 100644 --- a/libtransmission/platform.c +++ b/libtransmission/platform.c @@ -565,11 +565,11 @@ tr_getClutchDir( const tr_session * session UNUSED ) { char * path = tr_buildPath( l->data, "transmission", "web", NULL ); const int found = isClutchDir( path ); - tr_free( path ); if( found ) { s = path; break; } + tr_free( path ); } tr_list_free( &candidates, tr_free );