summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-05-10 06:35:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:56 -0500
commit26443e8c0b78f58f6ae176efe9336030ad9f6b8a (patch)
treea8bc6888794392081f74a6db2367cc39c065e167
parentf7776975080c88bec9013ccac8185c582e818e54 (diff)
downloadsamba-26443e8c0b78f58f6ae176efe9336030ad9f6b8a.tar.gz
samba-26443e8c0b78f58f6ae176efe9336030ad9f6b8a.tar.bz2
samba-26443e8c0b78f58f6ae176efe9336030ad9f6b8a.zip
r15525: fix compile error on HP-UX reported by Ryan Novosielski
(This used to be commit e439660f916050291107f699e32ba2872ba95fcf)
-rw-r--r--source3/lib/sysacls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 61975264fd..36baf96016 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -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;
}