mirror of
https://github.com/samba-team/samba.git
synced 2025-11-07 12:23:51 +03:00
r26339: Make loadparm talloc-allocated.
This commit is contained in:
committed by
Stefan Metzmacher
parent
2a005096dd
commit
1e02cd8db1
@@ -189,7 +189,7 @@ static int ejs_lpReload(MprVarHandle eid, int argc, char **argv)
|
||||
{
|
||||
bool ret;
|
||||
|
||||
ret = lp_load(lp_configfile(global_loadparm), NULL);
|
||||
ret = lp_load(talloc_autofree_context(), lp_configfile(global_loadparm), NULL);
|
||||
if (ret) {
|
||||
unload_interfaces();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user