mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
fix oops
This commit is contained in:
@@ -126,9 +126,10 @@ TrOpenFile( int i,
|
||||
char * tmp = tr_dirname( filename );
|
||||
const int err = tr_mkdirp( tmp, 0777 ) ? errno : 0;
|
||||
tr_free( tmp );
|
||||
tr_free( filename );
|
||||
if( err )
|
||||
if( err ) {
|
||||
tr_free( filename );
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
/* open the file */
|
||||
|
||||
Reference in New Issue
Block a user