summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_sxnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_sxnet.c')
-rw-r--r--crypto/x509v3/v3_sxnet.c4
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;
}