Fix leak of tex layer objects during LLLocalTextureObject destruction

master
Rye Mutt 2022-10-19 22:16:39 -04:00
parent 59062cec1c
commit d0f0d77474
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ LLLocalTextureObject::LLLocalTextureObject(const LLLocalTextureObject& lto) :
LLLocalTextureObject::~LLLocalTextureObject()
{
delete_and_clear(mTexLayers);
}
LLGLTexture* LLLocalTextureObject::getImage() const