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:
parent
ae0201db0f
commit
e8b4465a00
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue