diff options
-rw-r--r-- | source3/libsmb/clikrb5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 704bcb929e..5d51a5b19c 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -355,7 +355,7 @@ bool unwrap_edata_ntstatus(TALLOC_CTX *mem_ctx, } asn1_start_tag(data, ASN1_CONTEXT(2)); - asn1_read_OctetString(data, talloc_autofree_context(), &edata_contents); + asn1_read_OctetString(data, talloc_tos(), &edata_contents); asn1_end_tag(data); asn1_end_tag(data); asn1_end_tag(data); @@ -398,7 +398,7 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_ asn1_end_tag(data); asn1_start_tag(data, ASN1_CONTEXT(1)); - asn1_read_OctetString(data, talloc_autofree_context(), &pac_contents); + asn1_read_OctetString(data, talloc_tos(), &pac_contents); asn1_end_tag(data); asn1_end_tag(data); asn1_end_tag(data); |