1
0
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:
Gerald Carter 2006-05-10 06:35:01 +00:00 committed by Gerald (Jerry) Carter
parent f777697508
commit 26443e8c0b

View File

@ -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;
} }