* many bugfixes in pkcs11 module
* memory corruption fix in pkcs15 framework * pool node deletion fixed in misc.c * now detects smartcards in C_GetSlotInfo too git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@186 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
82a2d72e6a
commit
b9c165125b
|
@ -148,8 +148,8 @@ CK_RV pool_find_and_delete(struct sc_pkcs11_pool *pool, CK_ULONG handle, void **
|
|||
if (pool->head == item) pool->head = item->next;
|
||||
if (pool->tail == item) pool->tail = item->prev;
|
||||
|
||||
free(item);
|
||||
*item_ptr = item->item;
|
||||
free(item);
|
||||
|
||||
return CKR_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue