; * src/fileio.c (Fset_file_acl): Don't leak memory.
This commit is contained in:
parent
b57a648648
commit
b12ce748d1
1 changed files with 1 additions and 1 deletions
|
@ -3617,10 +3617,10 @@ support. */)
|
|||
fail = (acl_set_file (SSDATA (encoded_absname), ACL_TYPE_ACCESS,
|
||||
acl)
|
||||
!= 0);
|
||||
acl_free (acl);
|
||||
if (fail && acl_errno_valid (errno))
|
||||
report_file_error ("Setting ACL", absname);
|
||||
|
||||
acl_free (acl);
|
||||
return fail ? Qnil : Qt;
|
||||
}
|
||||
# endif
|
||||
|
|
Loading…
Add table
Reference in a new issue