diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-02-01 17:53:25 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-02-01 17:53:25 -0700 |
commit | 436fe6a4125ac0fb4be29e7e3530dc5200e18cd5 (patch) | |
tree | e5ac3fa9f696a4bacfd17c6624d5b999d72900e2 /indra/llimage/llimageworker.cpp | |
parent | 2dbbf6bdb88f550a3bc0481e6f2d89d2177ef3a7 (diff) |
fix a minor memory leaking flaw for SH-895: some mild memory leaking (partially)
Diffstat (limited to 'indra/llimage/llimageworker.cpp')
-rw-r--r-- | indra/llimage/llimageworker.cpp | 6 |
1 files changed, 6 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) |