diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-07-10 14:48:31 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-07-10 14:48:31 +0200 |
commit | f8be08d200850b7046e1d9c67123b17b7e6ffd56 (patch) | |
tree | 76c14ed8c0830f3f87f24c83903d43b7f55316a3 /crypto/x509v3/v3_sxnet.c | |
parent | Fix memory checking. (diff) | |
download | openssl-f8be08d200850b7046e1d9c67123b17b7e6ffd56.tar.xz openssl-f8be08d200850b7046e1d9c67123b17b7e6ffd56.zip |
SXnet code was freeing up the extension data rather than the temporary
zone number.
Diffstat (limited to 'crypto/x509v3/v3_sxnet.c')
-rw-r--r-- | crypto/x509v3/v3_sxnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_sxnet.c b/crypto/x509v3/v3_sxnet.c index 0f198f62f2..0687bb4e3d 100644 --- a/crypto/x509v3/v3_sxnet.c +++ b/crypto/x509v3/v3_sxnet.c @@ -307,7 +307,7 @@ ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, char *zone) return NULL; } oct = SXNET_get_id_INTEGER(sx, izone); - ASN1_INTEGER_free(oct); + ASN1_INTEGER_free(izone); return oct; } @@ -321,7 +321,7 @@ ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone) return NULL; } oct = SXNET_get_id_INTEGER(sx, izone); - ASN1_INTEGER_free(oct); + ASN1_INTEGER_free(izone); return oct; } |