From 2560e3bbab21663c83faeb7c6abb0d78f2f3a916 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 20 Nov 2024 19:20:41 +0100 Subject: [PATCH] Fix memory leak in LLVertexBuffer --- indra/llrender/llvertexbuffer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index b639eb2270..1181fa863d 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -962,8 +962,9 @@ void LLVertexBuffer::initClass(LLWindow* window) { llassert(sVBOPool == nullptr); - LL_INFOS() << "VBO Pooling Disabled" << LL_ENDL; - sVBOPool = new LLAppleVBOPool(); + // Fix memory leak + //LL_INFOS() << "VBO Pooling Disabled" << LL_ENDL; + //sVBOPool = new LLAppleVBOPool(); if (gGLManager.mIsApple) {