From bc31e9c7d2a030dc0f63322f5c42d2fe22bbf7ff Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 29 Apr 2011 14:02:16 +1000 Subject: [PATCH] s4-param Rename lp_destructor() -> lpcfg_destructor() for consistency --- source4/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 9d822e0fbcb..c8c0b193bc9 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2292,7 +2292,7 @@ void lpcfg_killunused(struct loadparm_context *lp_ctx, } -static int lp_destructor(struct loadparm_context *lp_ctx) +static int lpcfg_destructor(struct loadparm_context *lp_ctx) { struct parmlist_entry *data; @@ -2333,7 +2333,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) if (lp_ctx == NULL) return NULL; - talloc_set_destructor(lp_ctx, lp_destructor); + talloc_set_destructor(lp_ctx, lpcfg_destructor); lp_ctx->bInGlobalSection = true; lp_ctx->globals = talloc_zero(lp_ctx, struct loadparm_global); lp_ctx->sDefault = talloc_zero(lp_ctx, struct loadparm_service); -- 2.11.4.GIT