Skip to content

Commit

Permalink
Add release_serial_object(obj2) to release obj2 before serialize_indi…
Browse files Browse the repository at this point in the history
…rect_attribute() returns
  • Loading branch information
hoyong2007 committed Sep 13, 2024
1 parent a5b1ffc commit d8a8da0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libckteec/src/serialize_ck.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ static CK_RV serialize_indirect_attribute(struct serializer *obj,

obj->item_count++;

release_serial_object(&obj2);

return rv;
}

Expand Down

0 comments on commit d8a8da0

Please sign in to comment.