SXnet code was freeing up the extension data rather than the temporary
authorDr. Stephen Henson <steve@openssl.org>
Sat, 10 Jul 1999 12:48:31 +0000 (12:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 10 Jul 1999 12:48:31 +0000 (12:48 +0000)
zone number.

crypto/x509v3/v3_sxnet.c

index 0f198f62f2f31438c43b0c9ab18cf9bfc9151fdc..0687bb4e3d0f7d6814dbb3094cc4511fe03766b2 100644 (file)
@@ -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;
 }