diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-07-10 12:48:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-07-10 12:48:31 +0000 |
commit | f8be08d200850b7046e1d9c67123b17b7e6ffd56 (patch) | |
tree | 76c14ed8c0830f3f87f24c83903d43b7f55316a3 /crypto/x509v3/v3_sxnet.c | |
parent | 777ab7e6110837ef2b1db5b5a67c754ce89e1e0b (diff) |
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; } |