mirror of
https://github.com/transmission/transmission
synced 2025-02-04 05:22:40 +00:00
fix the error message leak reported by BentMyWookie in the new ACL code
This commit is contained in:
parent
6ec33f5e23
commit
1dd2abc711
1 changed files with 2 additions and 0 deletions
|
@ -229,6 +229,8 @@ tr_rpcSetACL( tr_rpc_server * server, const char * acl, char ** setme_errmsg )
|
|||
{
|
||||
if( setme_errmsg )
|
||||
*setme_errmsg = errmsg;
|
||||
else
|
||||
tr_free( errmsg );
|
||||
ret = -1;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue