diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-26 22:16:14 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-27 18:14:47 +0200 |
commit | 35d9530f3b210f182815fe07b5204be664d5972a (patch) | |
tree | 83f6c8ff254dbcfd0895ced56cf2b1008e54164e /lib | |
parent | 8e02130c623fca4bf06baff6789b45d8782bf5b0 (diff) | |
download | samba-35d9530f3b210f182815fe07b5204be664d5972a.tar.gz samba-35d9530f3b210f182815fe07b5204be664d5972a.tar.bz2 samba-35d9530f3b210f182815fe07b5204be664d5972a.zip |
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().
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/params.c b/lib/util/params.c index d589771f4d..8d17e0db5a 100644 --- a/lib/util/params.c +++ b/lib/util/params.c @@ -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 ); |