asn1: Fix double-free in asn1parse.y

This commit is contained in:
Nicolas Williams
2022-01-14 22:16:21 -06:00
parent 9f3004bfd5
commit a4e6c33780

View File

@@ -716,6 +716,8 @@ sort_object_set(IOSObjectSet *os, /* Object set to sort fields of */
IOSObject *o;
size_t i, nobjs = 0;
*objectsp = NULL;
HEIM_TAILQ_FOREACH(o, os->objects, objects) {
ObjectField *typeidobjf = NULL;
ObjectField *of;