1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 10:15:45 +00:00

fix another oops from yesterday's tr_buildPath() reworking

This commit is contained in:
Charles Kerr 2008-10-14 17:27:59 +00:00
parent ae0201db0f
commit e8b4465a00

View file

@ -565,11 +565,11 @@ tr_getClutchDir( const tr_session * session UNUSED )
{ {
char * path = tr_buildPath( l->data, "transmission", "web", NULL ); char * path = tr_buildPath( l->data, "transmission", "web", NULL );
const int found = isClutchDir( path ); const int found = isClutchDir( path );
tr_free( path );
if( found ) { if( found ) {
s = path; s = path;
break; break;
} }
tr_free( path );
} }
tr_list_free( &candidates, tr_free ); tr_list_free( &candidates, tr_free );