mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Allocate a talloc_stackframe() in main() for wbinfo.
(This used to be commit 30c9e3557bf4ca0b85e15bd7cc883391aec42f1f)
This commit is contained in:
parent
9d42000b7e
commit
b921f1690f
@ -1273,7 +1273,7 @@ enum {
|
||||
int main(int argc, char **argv, char **envp)
|
||||
{
|
||||
int opt;
|
||||
|
||||
TALLOC_CTX *frame = talloc_stackframe();
|
||||
poptContext pc;
|
||||
static char *string_arg;
|
||||
static char *opt_domain_name;
|
||||
@ -1613,6 +1613,8 @@ int main(int argc, char **argv, char **envp)
|
||||
/* Exit code */
|
||||
|
||||
done:
|
||||
talloc_destroy(frame);
|
||||
|
||||
poptFreeContext(pc);
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user