fix memory leak when excecute BEMRender.render() with entrypoint argument