summaryrefslogtreecommitdiff
path: root/source3/libsmb/clikrb5.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-16 18:28:58 -0700
committerJeremy Allison <jra@samba.org>2009-07-16 18:28:58 -0700
commit5f295eb6f5fe60394b764a2e0bc76b77f6160664 (patch)
tree163cc3a21dcf7250ad9f450244e2c337a49e4186 /source3/libsmb/clikrb5.c
parentd4a87ee966adb9205169507fca5c07faefc4513e (diff)
downloadsamba-5f295eb6f5fe60394b764a2e0bc76b77f6160664.tar.gz
samba-5f295eb6f5fe60394b764a2e0bc76b77f6160664.tar.bz2
samba-5f295eb6f5fe60394b764a2e0bc76b77f6160664.zip
More conversions of NULL -> talloc_autofree_context()
so we at least know when we're using a long-lived context. Jeremy.
Diffstat (limited to 'source3/libsmb/clikrb5.c')
-rw-r--r--source3/libsmb/clikrb5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 8a567dc751..152c23bd15 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -346,7 +346,7 @@ bool unwrap_edata_ntstatus(TALLOC_CTX *mem_ctx,
}
asn1_start_tag(data, ASN1_CONTEXT(2));
- asn1_read_OctetString(data, NULL, &edata_contents);
+ asn1_read_OctetString(data, talloc_autofree_context(), &edata_contents);
asn1_end_tag(data);
asn1_end_tag(data);
asn1_end_tag(data);
@@ -389,7 +389,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, NULL, &pac_contents);
+ asn1_read_OctetString(data, talloc_autofree_context(), &pac_contents);
asn1_end_tag(data);
asn1_end_tag(data);
asn1_end_tag(data);