mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
Forward port of Richard Sharpe's <realrichardsharpe@gmail.com> fix for bug #8970 - Possible memory leaks in the samba master process.
This commit is contained in:
@@ -8809,7 +8809,11 @@ static bool lp_load_ex(const char *pszFname,
|
||||
}
|
||||
}
|
||||
|
||||
lp_add_auto_services(lp_auto_services());
|
||||
{
|
||||
char *serv = lp_auto_services();
|
||||
lp_add_auto_services(serv);
|
||||
TALLOC_FREE(serv);
|
||||
}
|
||||
|
||||
if (add_ipc) {
|
||||
/* When 'restrict anonymous = 2' guest connections to ipc$
|
||||
|
||||
Reference in New Issue
Block a user