summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/ejs/ejsnet/net_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/ejs/ejsnet/net_ctx.c b/source4/scripting/ejs/ejsnet/net_ctx.c
index e837702ff8..25239512d0 100644
--- a/source4/scripting/ejs/ejsnet/net_ctx.c
+++ b/source4/scripting/ejs/ejsnet/net_ctx.c
@@ -51,6 +51,7 @@ static int ejs_net_context(MprVarHandle eid, int argc, struct MprVar **argv)
return -1;
}
ev = event_context_find(event_mem_ctx);
+
ctx = libnet_context_init(ev);
/* IF we generated a new event context, it will be under here,
* and we need it to last as long as the libnet context, so