diff options
-rw-r--r-- | source4/scripting/ejs/ejsnet/net_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/ejsnet/net_user.c b/source4/scripting/ejs/ejsnet/net_user.c index 24fc46f842..9a4f9473f6 100644 --- a/source4/scripting/ejs/ejsnet/net_user.c +++ b/source4/scripting/ejs/ejsnet/net_user.c @@ -77,7 +77,7 @@ int ejs_net_userman(MprVarHandle eid, int argc, struct MprVar **argv) 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); |