1
0
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:
Jeremy Allison
2012-05-31 15:06:58 -07:00
parent f6e41026f8
commit 8fd02fa2d6
5 changed files with 16 additions and 4 deletions

View File

@@ -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$