mirror of
https://github.com/samba-team/samba.git
synced 2025-08-30 17:49:30 +03:00
Fix memleak
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user