예제 #1
0
파일: nmb.c 프로젝트: mirrtalk/nessDB
void nmb_free(struct nmb *nmb)
{
	if (!nmb)
		return;

	pma_free(nmb->pma);
	mempool_free(nmb->mpool);
}
예제 #2
0
파일: nmb.c 프로젝트: BohuTANG/nessDB
void nmb_free(struct nmb *nmb)
{
	if (!nmb)
		return;

	pma_free(nmb->pma);
	mempool_free(nmb->mpool);
	ness_mutex_destroy(&nmb->mtx);
	xfree(nmb);
}
예제 #3
0
파일: port_link.c 프로젝트: alhazred/onarm
int
minor_fini()
{
	/*
	 * update the sacadm database only if we are updating
	 * this platform (no -r option)
	 */
	if (strcmp(devfsadm_root_path(), "/") == 0)
		update_sacadm_db();

	pma_free();

	return (DEVFSADM_SUCCESS);
}