diff --git a/libckteec/src/serialize_ck.c b/libckteec/src/serialize_ck.c index ffcffd63..825677e2 100644 --- a/libckteec/src/serialize_ck.c +++ b/libckteec/src/serialize_ck.c @@ -107,6 +107,8 @@ static CK_RV serialize_indirect_attribute(struct serializer *obj, obj->item_count++; + release_serial_object(&obj2); + return rv; }