Fix leak; err is not used anyway

This commit is contained in:
Mukund Sivaraman 2008-08-14 11:23:16 +00:00
parent 39c8cdce5f
commit 21010afa50
1 changed files with 1 additions and 2 deletions

View File

@ -999,9 +999,8 @@ g_message( "setting encryption to %d", encryption );
}
else if( !strcmp( key, PREF_KEY_RPC_ACL ) )
{
char * err = NULL;
const char * s = pref_string_get( key );
tr_sessionSetRPCACL( tr, s, &err );
tr_sessionSetRPCACL( tr, s, NULL );
}
else if( !strcmp( key, PREF_KEY_RPC_USERNAME ) )
{