summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/x509v3/v3_bcons.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/x509v3/v3_bcons.c')
-rw-r--r--crypto/openssl/crypto/x509v3/v3_bcons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/x509v3/v3_bcons.c b/crypto/openssl/crypto/x509v3/v3_bcons.c
index de2f855..1e3edc2 100644
--- a/crypto/openssl/crypto/x509v3/v3_bcons.c
+++ b/crypto/openssl/crypto/x509v3/v3_bcons.c
@@ -122,8 +122,8 @@ BASIC_CONSTRAINTS *d2i_BASIC_CONSTRAINTS(BASIC_CONSTRAINTS **a,
void BASIC_CONSTRAINTS_free(BASIC_CONSTRAINTS *a)
{
if (a == NULL) return;
- ASN1_INTEGER_free (a->pathlen);
- Free ((char *)a);
+ M_ASN1_INTEGER_free (a->pathlen);
+ Free (a);
}
static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
OpenPOWER on IntegriCloud