svn commit: samba r22743 - in branches/SAMBA_4_0/source/lib/charset: .

metze at samba.org metze at samba.org
Mon May 7 13:32:34 GMT 2007


Author: metze
Date: 2007-05-07 13:32:34 +0000 (Mon, 07 May 2007)
New Revision: 22743

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

Log:
set the talloc name to the string...

metze
Modified:
   branches/SAMBA_4_0/source/lib/charset/util_unistr.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/charset/util_unistr.c
===================================================================
--- branches/SAMBA_4_0/source/lib/charset/util_unistr.c	2007-05-07 12:41:23 UTC (rev 22742)
+++ branches/SAMBA_4_0/source/lib/charset/util_unistr.c	2007-05-07 13:32:34 UTC (rev 22743)
@@ -508,6 +508,8 @@
 	/* trim it so talloc_append_string() works */
 	dest = talloc_realloc_size(ctx, dest, size+1);
 
+	talloc_set_name_const(dest, dest);
+
 	return dest;
 }
 
@@ -550,6 +552,8 @@
 	/* trim it so talloc_append_string() works */
 	dest = talloc_realloc_size(ctx, dest, size+1);
 
+	talloc_set_name_const(dest, dest);
+
 	return dest;
 }
 



More information about the samba-cvs mailing list