Call jhc_alloc_fini at exported function's enter.