summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2011-02-02 17:42:18 -0800
committerTofu Buzzard <no-email>2011-02-02 17:42:18 -0800
commit8e133ef2e30973ddda886ed71a0b4873fe384baf (patch)
tree38db2ba3b2c67378b594f67a06f22111c1d3e975 /indra/llimage
parent0d1d61680ac8ab12256ef0d180ab00ee8799cb0a (diff)
parent46c9f61abdd9326c7a52159370b20800941c72fa (diff)
merge
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimageworker.cpp6
-rw-r--r--indra/llimage/llimageworker.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp
index d1c74b6fa1..28dc3bd313 100644
--- a/indra/llimage/llimageworker.cpp
+++ b/indra/llimage/llimageworker.cpp
@@ -38,6 +38,12 @@ LLImageDecodeThread::LLImageDecodeThread(bool threaded)
mCreationMutex = new LLMutex(getAPRPool());
}
+//virtual
+LLImageDecodeThread::~LLImageDecodeThread()
+{
+ delete mCreationMutex ;
+}
+
// MAIN THREAD
// virtual
S32 LLImageDecodeThread::update(U32 max_time_ms)
diff --git a/indra/llimage/llimageworker.h b/indra/llimage/llimageworker.h
index c3c92ec832..c684222fa5 100644
--- a/indra/llimage/llimageworker.h
+++ b/indra/llimage/llimageworker.h
@@ -73,6 +73,8 @@ public:
public:
LLImageDecodeThread(bool threaded = true);
+ virtual ~LLImageDecodeThread();
+
handle_t decodeImage(LLImageFormatted* image,
U32 priority, S32 discard, BOOL needs_aux,
Responder* responder);