Renderer2: C conversion array malloc size fix