diff options
author | McCabe Maxsted | 2010-07-26 09:40:36 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-07-26 09:40:36 -0700 |
commit | c8c43af8de67564fe94b946827d0cd932ce226c1 (patch) | |
tree | ce95c1550fa5b0749ad594474380bd3d9a7e0d83 /linden | |
parent | Changed version to Weekly: 2010-07-24 (diff) | |
download | meta-impy-c8c43af8de67564fe94b946827d0cd932ce226c1.zip meta-impy-c8c43af8de67564fe94b946827d0cd932ce226c1.tar.gz meta-impy-c8c43af8de67564fe94b946827d0cd932ce226c1.tar.bz2 meta-impy-c8c43af8de67564fe94b946827d0cd932ce226c1.tar.xz |
Fixed missing port from snowglobe in LLPreviewTexture dtor (image wasn't being destroyed)
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llpreviewtexture.cpp | 4 |
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 | ||