1 Commits

Author SHA1 Message Date
Wang Jinchao
a3210031d7
Fix memory handling in slot refresh
On refreshing slots, there were two issues:
- When reusing a PKCS11_SLOT_PRIVATE structure instance, the instance to
  be reused was accidentally freed
- Looking for an instance in the list of slots had bugs in pointer
  usage.

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
2024-11-01 03:40:31 +00:00