diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_fre.c')
-rw-r--r-- | src/lib/libcrypto/asn1/tasn_fre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c index dbf6bf1e8e..cc7b838cc5 100644 --- a/src/lib/libcrypto/asn1/tasn_fre.c +++ b/src/lib/libcrypto/asn1/tasn_fre.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_fre.c,v 1.19 2022/05/10 05:19:22 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_fre.c,v 1.20 2022/05/12 19:55:58 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -144,7 +144,7 @@ asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it) | |||
144 | if (i == 2) | 144 | if (i == 2) |
145 | return; | 145 | return; |
146 | } | 146 | } |
147 | asn1_enc_free(pval, it); | 147 | asn1_enc_cleanup(pval, it); |
148 | /* If we free up as normal we will invalidate any | 148 | /* If we free up as normal we will invalidate any |
149 | * ANY DEFINED BY field and we wont be able to | 149 | * ANY DEFINED BY field and we wont be able to |
150 | * determine the type of the field it defines. So | 150 | * determine the type of the field it defines. So |