From dbf9017a807f317333596092fc3493d7c5a96c65 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 23 Jan 2010 13:31:27 +0100 Subject: s3: Remove string_sid_talloc All but one call were pointless, so I think this API should go --- source3/lib/util_sid.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/lib/util_sid.c') diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index a181502a89..20c2663de9 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -271,19 +271,6 @@ bool string_to_sid(DOM_SID *sidout, const char *sidstr) return True; } -DOM_SID *string_sid_talloc(TALLOC_CTX *mem_ctx, const char *sidstr) -{ - DOM_SID *result = TALLOC_P(mem_ctx, DOM_SID); - - if (result == NULL) - return NULL; - - if (!string_to_sid(result, sidstr)) - return NULL; - - return result; -} - /***************************************************************** Add a rid to the end of a sid *****************************************************************/ -- cgit