From 35d9530f3b210f182815fe07b5204be664d5972a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 26 Sep 2010 22:16:14 -0700 Subject: 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(). --- lib/util/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 ); -- cgit