hash = ERRFN(thread_get)();
hash = ERRFN(thread_get)(0);
static void int_thread_del_item(const ERR_STATE *d)	{	ERR_STATE *p;	LHASH *hash;	err_fns_check();	hash = ERRFN(thread_get)();	if (!hash)		return;	CRYPTO_w_lock(CRYPTO_LOCK_ERR);	p = (ERR_STATE *)lh_delete(hash, d);	/* make sure we don't leak memory */	if (int_thread_hash && (lh_num_items(int_thread_hash) == 0))		{		lh_free(int_thread_hash);		int_thread_hash = NULL;		}	CRYPTO_w_unlock(CRYPTO_LOCK_ERR);	if (p)		ERR_STATE_free(p);	}