Wang Jinchao 0927874b47 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>
(cherry picked from commit a3210031d7e7cee882d02d68194e94018bd5ab6e)
2024-11-01 16:02:11 +08:00
2023-02-07 20:08:33 +08:00
2020-06-18 17:22:56 +08:00
Description
No description provided
1.5 MiB
Languages
Diff 100%