summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-07-18 11:36:16 +0000
committerVolker Lendecke <vlendec@samba.org>2003-07-18 11:36:16 +0000
commitf4d4b079e986bfa79ff0748597582d46c6ee7297 (patch)
treefced05f550a6c7ef37c024e5830f45adf28c332e
parentffbb6ee3b8ee815e5e4f8132a9225d6a627094f5 (diff)
downloadsamba-f4d4b079e986bfa79ff0748597582d46c6ee7297.tar.gz
samba-f4d4b079e986bfa79ff0748597582d46c6ee7297.tar.bz2
samba-f4d4b079e986bfa79ff0748597582d46c6ee7297.zip
Fix memleak
(This used to be commit 228fe54f0d65b895bef9e095ad996a48edf964df)
-rw-r--r--source3/auth/auth.c2
1 files changed, 1 insertions, 1 deletions
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;
}