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:
parent
8e02130c62
commit
35d9530f3b
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user