if (fwInstance->sessionHandleHash) { nssCKFWHash_Destroy(fwInstance->sessionHandleHash); }  if (fwInstance->objectHandleHash) { nssCKFWHash_Destroy(fwInstance->objectHandleHash); }
nssCKFWInstance_Destroy(  NSSCKFWInstance *fwInstance){#ifdef NSSDEBUG  CK_RV error = CKR_OK;#endif /* NSSDEBUG */  CK_ULONG i;#ifdef NSSDEBUG  error = nssCKFWInstance_verifyPointer(fwInstance);  if( CKR_OK != error ) {    return error;  }#endif /* NSSDEBUG */  nssCKFWMutex_Destroy(fwInstance->mutex);  for( i = 0; i < fwInstance->nSlots; i++ ) {    (void)nssCKFWSlot_Destroy(fwInstance->fwSlotList[i]);  }  if( (void *)NULL != (void *)fwInstance->mdInstance->Finalize ) {    fwInstance->mdInstance->Finalize(fwInstance->mdInstance, fwInstance);  }#ifdef DEBUG  (void)instance_remove_pointer(fwInstance);#endif /* DEBUG */  (void)NSSArena_Destroy(fwInstance->arena);  return CKR_OK;}