From f4d4b079e986bfa79ff0748597582d46c6ee7297 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 18 Jul 2003 11:36:16 +0000 Subject: Fix memleak (This used to be commit 228fe54f0d65b895bef9e095ad996a48edf964df) --- source3/auth/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth/auth.c') diff --git a/source3/auth/auth.c b/source3/auth/auth.c index a2486acbd1..8316c4b617 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -512,7 +512,7 @@ NTSTATUS make_auth_context_fixed(struct auth_context **auth_context, uchar chal[ return nt_status; } - (*auth_context)->challenge = data_blob(chal, 8); + (*auth_context)->challenge = data_blob_talloc((*auth_context)->mem_ctx, chal, 8); (*auth_context)->challenge_set_by = "fixed"; return nt_status; } -- cgit