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