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:
parent
cc38e4fc1f
commit
0719835c4d
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user