svn commit: samba r20235 - in branches/SAMBA_3_0/source/modules: .

jpeach at samba.org jpeach at samba.org
Mon Dec 18 01:59:43 GMT 2006


Author: jpeach
Date: 2006-12-18 01:59:42 +0000 (Mon, 18 Dec 2006)
New Revision: 20235

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

Log:
Don't use realloc directly.

Modified:
   branches/SAMBA_3_0/source/modules/charset_macosxfs.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/charset_macosxfs.c
===================================================================
--- branches/SAMBA_3_0/source/modules/charset_macosxfs.c	2006-12-17 23:11:46 UTC (rev 20234)
+++ branches/SAMBA_3_0/source/modules/charset_macosxfs.c	2006-12-18 01:59:42 UTC (rev 20235)
@@ -62,7 +62,7 @@
 {
 	if (newsize > *size) {
 		*size = newsize + 128;
-		buffer = realloc(buffer, *size);
+		buffer = SMB_REALLOC(buffer, *size);
 	}
 	return buffer;
 }



More information about the samba-cvs mailing list