aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/llpreviewtexture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreviewtexture.cpp b/linden/indra/newview/llpreviewtexture.cpp
index 6627579..381cb58 100644
--- a/linden/indra/newview/llpreviewtexture.cpp
+++ b/linden/indra/newview/llpreviewtexture.cpp
@@ -150,6 +150,10 @@ LLPreviewTexture::~LLPreviewTexture()
150 getWindow()->decBusyCount(); 150 getWindow()->decBusyCount();
151 } 151 }
152 152
153 if(mImage.notNull())
154 {
155 mImage->destroySavedRawImage() ;
156 }
153 mImage = NULL; 157 mImage = NULL;
154} 158}
155 159