From b6bf2e42672cc84e5c3af6f8b15a9d39c408db13 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 29 Nov 2006 15:46:57 +0000 Subject: [PATCH] r19950: talloc_destroy is replaced these days --- source/lib/sharesec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/lib/sharesec.c b/source/lib/sharesec.c index e3216aa4594..7a6a4255590 100644 --- a/source/lib/sharesec.c +++ b/source/lib/sharesec.c @@ -179,8 +179,7 @@ BOOL set_share_security(const char *share_name, SEC_DESC *psd) out: prs_mem_free(&ps); - if (mem_ctx) - talloc_destroy(mem_ctx); + TALLOC_FREE(mem_ctx); return ret; }