From: Dr. Stephen Henson Date: Sat, 10 Jul 1999 12:48:31 +0000 (+0000) Subject: SXnet code was freeing up the extension data rather than the temporary X-Git-Tag: OpenSSL_0_9_4~117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8be08d200850b7046e1d9c67123b17b7e6ffd56;p=oweals%2Fopenssl.git SXnet code was freeing up the extension data rather than the temporary zone number. --- 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; }