1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix memleak

(This used to be commit 228fe54f0d)
This commit is contained in:
Volker Lendecke 2003-07-18 11:36:16 +00:00
parent ffbb6ee3b8
commit f4d4b079e9

View File

@ -512,7 +512,7 @@ NTSTATUS make_auth_context_fixed(struct auth_context **auth_context, uchar chal[
return nt_status; 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"; (*auth_context)->challenge_set_by = "fixed";
return nt_status; return nt_status;
} }