Fix leak of tex layer objects during LLLocalTextureObject destruction
parent
59062cec1c
commit
d0f0d77474
|
|
@ -76,6 +76,7 @@ LLLocalTextureObject::LLLocalTextureObject(const LLLocalTextureObject& lto) :
|
|||
|
||||
LLLocalTextureObject::~LLLocalTextureObject()
|
||||
{
|
||||
delete_and_clear(mTexLayers);
|
||||
}
|
||||
|
||||
LLGLTexture* LLLocalTextureObject::getImage() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue