mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r15525: fix compile error on HP-UX reported by Ryan Novosielski
This commit is contained in:
parent
a75dd80c62
commit
e439660f91
@ -1318,7 +1318,6 @@ char *sys_acl_to_text(SMB_ACL_T acl_d, ssize_t *len_p)
|
||||
if ((len + nbytes) > maxlen) {
|
||||
maxlen += nbytes + 20 * (acl_d->count - i);
|
||||
if ((text = SMB_REALLOC(text, maxlen)) == NULL) {
|
||||
free(oldtext);
|
||||
errno = ENOMEM;
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user