svn commit: samba r20910 - in branches/SAMBA_4_0/source/scripting/ejs/ejsnet: .

metze at samba.org metze at samba.org
Fri Jan 19 17:07:00 GMT 2007


Author: metze
Date: 2007-01-19 17:06:59 +0000 (Fri, 19 Jan 2007)
New Revision: 20910

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

Log:
fix crash bug

metze
Modified:
   branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_user.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_user.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_user.c	2007-01-19 16:55:38 UTC (rev 20909)
+++ branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_user.c	2007-01-19 17:06:59 UTC (rev 20910)
@@ -77,7 +77,7 @@
 	obj = mprInitObject(eid, "NetUsrCtx", argc, argv);
 
 	/* we need to make a copy of the string for this object */
-	userman_domain = talloc_strdup(obj, userman_domain);
+	userman_domain = talloc_strdup(ctx, userman_domain);
 
 	/* add properties */
 	mprSetPtrChild(obj, "ctx", ctx);



More information about the samba-cvs mailing list