svn commit: samba r15525 - branches/SAMBA_3_0/source/lib trunk/source/lib

jerry at samba.org jerry at samba.org
Wed May 10 06:35:04 GMT 2006


Author: jerry
Date: 2006-05-10 06:35:01 +0000 (Wed, 10 May 2006)
New Revision: 15525

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15525

Log:
fix compile error on HP-UX reported by Ryan Novosielski
Modified:
   branches/SAMBA_3_0/source/lib/sysacls.c
   trunk/source/lib/sysacls.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/sysacls.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysacls.c	2006-05-10 05:57:20 UTC (rev 15524)
+++ branches/SAMBA_3_0/source/lib/sysacls.c	2006-05-10 06:35:01 UTC (rev 15525)
@@ -1318,7 +1318,6 @@
 		if ((len + nbytes) > maxlen) {
 			maxlen += nbytes + 20 * (acl_d->count - i);
 			if ((text = SMB_REALLOC(text, maxlen)) == NULL) {
-				free(oldtext);
 				errno = ENOMEM;
 				return NULL;
 			}

Modified: trunk/source/lib/sysacls.c
===================================================================
--- trunk/source/lib/sysacls.c	2006-05-10 05:57:20 UTC (rev 15524)
+++ trunk/source/lib/sysacls.c	2006-05-10 06:35:01 UTC (rev 15525)
@@ -1318,7 +1318,6 @@
 		if ((len + nbytes) > maxlen) {
 			maxlen += nbytes + 20 * (acl_d->count - i);
 			if ((text = SMB_REALLOC(text, maxlen)) == NULL) {
-				free(oldtext);
 				errno = ENOMEM;
 				return NULL;
 			}



More information about the samba-cvs mailing list