diff options
Diffstat (limited to 'source4/web_server/ejs/miniMpr.c')
-rw-r--r-- | source4/web_server/ejs/miniMpr.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/web_server/ejs/miniMpr.c b/source4/web_server/ejs/miniMpr.c index 38241e5c71..46d9579c7e 100644 --- a/source4/web_server/ejs/miniMpr.c +++ b/source4/web_server/ejs/miniMpr.c @@ -37,16 +37,9 @@ static TALLOC_CTX *mpr_ctx; -void mprFreeAll(void) -{ - talloc_free(mpr_ctx); - mpr_ctx = NULL; -} - void mprSetCtx(TALLOC_CTX *ctx) { - talloc_free(mpr_ctx); - mpr_ctx = talloc_new(ctx); + mpr_ctx = ctx; } void mprFree(void *ptr) |