diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-13 22:52:52 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-13 22:52:52 +0000 |
commit | 11afb40c011a789396d4e06682f73f55c33dff8a (patch) | |
tree | e6f88a77ab8fcdb597341878e6355bbe4f85cc3e /crypto/asn1/x_info.c | |
parent | 2c736d077bdaa1b5955e8e8fc21cbfbb0d6959ff (diff) |
Use CRYPTO_push_info to track down memory leak
(only the CRYPTO_push_info's in the apps/ directory
are included in the CVS commit, not all those I used
in crypto/)
Diffstat (limited to 'crypto/asn1/x_info.c')
-rw-r--r-- | crypto/asn1/x_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/x_info.c b/crypto/asn1/x_info.c index 99ce011f07..22520d03dd 100644 --- a/crypto/asn1/x_info.c +++ b/crypto/asn1/x_info.c @@ -106,6 +106,7 @@ void X509_INFO_free(X509_INFO *x) if (x->x509 != NULL) X509_free(x->x509); if (x->crl != NULL) X509_CRL_free(x->crl); if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); + if (x->enc_data != NULL) Free(x->enc_data); Free((char *)x); } |