Update bin info for binfile being set in the environment
Fixed double free in r_core_fini