mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r20910: fix crash bug
metze (This used to be commit e668d3bd6955f0bd4e37560925c4107fd870c02f)
This commit is contained in:
parent
8309f2c35b
commit
15446aadaf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user