mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r24825: Give testparm an initial talloc stackframe, so it does not complain
it is leaking.
(This used to be commit 705336ee10
)
This commit is contained in:
parent
d051dce7b2
commit
fe6c338463
@ -220,6 +220,8 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
|
||||
POPT_TABLEEND
|
||||
};
|
||||
|
||||
TALLOC_CTX *frame = talloc_stackframe();
|
||||
|
||||
load_case_tables();
|
||||
|
||||
pc = poptGetContext(NULL, argc, argv, long_options,
|
||||
@ -395,6 +397,7 @@ print command parameter is ignored when using CUPS libraries.\n",
|
||||
}
|
||||
}
|
||||
}
|
||||
TALLOC_FREE(frame);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user