Skip to content
Snippets Groups Projects
Commit d0f0d774 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix leak of tex layer objects during LLLocalTextureObject destruction

parent 59062cec
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,7 @@ LLLocalTextureObject::LLLocalTextureObject(const LLLocalTextureObject& lto) : ...@@ -76,6 +76,7 @@ LLLocalTextureObject::LLLocalTextureObject(const LLLocalTextureObject& lto) :
LLLocalTextureObject::~LLLocalTextureObject() LLLocalTextureObject::~LLLocalTextureObject()
{ {
delete_and_clear(mTexLayers);
} }
LLGLTexture* LLLocalTextureObject::getImage() const LLGLTexture* LLLocalTextureObject::getImage() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment