diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/ejs/literal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/literal.c b/source4/scripting/ejs/literal.c index f7168e2c4e..4eeb35c423 100644 --- a/source4/scripting/ejs/literal.c +++ b/source4/scripting/ejs/literal.c @@ -92,7 +92,7 @@ int literal_to_var(int eid, int argc, char **argv) tok.source = argv[0]; tok.pos = 0; - tok.ctx = talloc_new(NULL); + tok.ctx = talloc_new(mprMemCtx()); if (tok.ctx == NULL) { mpr_Return(eid, mprCreateUndefinedVar()); return 0; |