1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Remove talloc_autofree_context() from pm_process

This would be a classic for talloc_tos(), InFile is freed a few lines down. But
unfortunately S4 does not support talloc_tos().
This commit is contained in:
Volker Lendecke 2010-09-26 22:16:14 -07:00
parent 8e02130c62
commit 35d9530f3b

View File

@ -543,7 +543,7 @@ bool pm_process( const char *FileName,
myFILE *InFile;
const char *func = "params.c:pm_process() -";
InFile = OpenConfFile(talloc_autofree_context(), FileName); /* Open the config file. */
InFile = OpenConfFile(NULL, FileName); /* Open the config file. */
if( NULL == InFile )
return( false );