diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_fre.c')
-rw-r--r-- | src/lib/libcrypto/asn1/tasn_fre.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c index 77d3092d31..b04034ba4c 100644 --- a/src/lib/libcrypto/asn1/tasn_fre.c +++ b/src/lib/libcrypto/asn1/tasn_fre.c | |||
@@ -126,7 +126,7 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c | |||
126 | asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); | 126 | asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); |
127 | if (!combine) | 127 | if (!combine) |
128 | { | 128 | { |
129 | OPENSSL_free(*pval); | 129 | free(*pval); |
130 | *pval = NULL; | 130 | *pval = NULL; |
131 | } | 131 | } |
132 | break; | 132 | break; |
@@ -173,7 +173,7 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c | |||
173 | asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); | 173 | asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); |
174 | if (!combine) | 174 | if (!combine) |
175 | { | 175 | { |
176 | OPENSSL_free(*pval); | 176 | free(*pval); |
177 | *pval = NULL; | 177 | *pval = NULL; |
178 | } | 178 | } |
179 | break; | 179 | break; |
@@ -254,7 +254,7 @@ void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) | |||
254 | 254 | ||
255 | case V_ASN1_ANY: | 255 | case V_ASN1_ANY: |
256 | ASN1_primitive_free(pval, NULL); | 256 | ASN1_primitive_free(pval, NULL); |
257 | OPENSSL_free(*pval); | 257 | free(*pval); |
258 | break; | 258 | break; |
259 | 259 | ||
260 | default: | 260 | default: |