1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r25326: Free the context from the talloc_stackframe.

Guenther
This commit is contained in:
Günther Deschner 2007-09-25 22:43:42 +00:00 committed by Gerald (Jerry) Carter
parent cc38e4fc1f
commit 0719835c4d

View File

@ -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",