diff options
| author | Loren Shih <seraph@lindenlab.com> | 2011-02-02 16:36:33 -0500 |
|---|---|---|
| committer | Loren Shih <seraph@lindenlab.com> | 2011-02-02 16:36:33 -0500 |
| commit | ba4afc4a303121a6dd618da420c8aa8c2accb367 (patch) | |
| tree | 804d33f427bf0ca4ca06cca8175c98af86bcdb2b /indra/llimage | |
| parent | 990a6206604b0a5e33902145b496f39927f6d5b9 (diff) | |
| parent | 515ccf300cc5e969a9c12e5a31d5eaddbe88161d (diff) | |
Automated merge up from viewer-development into mesh-development
Diffstat (limited to 'indra/llimage')
| -rw-r--r-- | indra/llimage/llimageworker.cpp | 6 | ||||
| -rw-r--r-- | indra/llimage/llimageworker.h | 2 |
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); |
