From: Charles Kerr Date: Tue, 14 Oct 2008 17:27:59 +0000 (+0000) Subject: fix another oops from yesterday's tr_buildPath() reworking X-Git-Tag: 1.40~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8b4465a0050741eb777dd5d0c36564b42ecca48;p=transmission fix another oops from yesterday's tr_buildPath() reworking --- 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 );