closed memory leak caused of buffer allocation in render-loop