SXnet code was freeing up the extension data rather than the temporary

zone number.
This commit is contained in:
Dr. Stephen Henson 1999-07-10 12:48:31 +00:00
parent 777ab7e611
commit f8be08d200

View 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;
}