From 0719835c4d979c91d11b139e5b424b5e0dc2a2c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 25 Sep 2007 22:43:42 +0000 Subject: [PATCH] r25326: Free the context from the talloc_stackframe. Guenther --- source/lib/module.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/lib/module.c b/source/lib/module.c index beb9bc9b925..57b4c38edc9 100644 --- a/source/lib/module.c +++ b/source/lib/module.c @@ -108,8 +108,11 @@ NTSTATUS smb_probe_module(const char *subsystem, const char *module) DEBUG(5, ("Probing module '%s'\n", module)); - if (module[0] == '/') - return do_smb_load_module(module, True); + if (module[0] == '/') { + status = do_smb_load_module(module, True); + TALLOC_FREE(ctx); + return status; + } full_path = talloc_asprintf(ctx, "%s/%s.%s", -- 2.11.4.GIT