diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-06-14 16:43:06 +0100 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-06-14 16:43:06 +0100 |
commit | 80a98a100bd934fc73f90f1153de78fe0df93847 (patch) | |
tree | e08a94c2599e430bc94fbf873e228951dac781a8 /indra/llcommon/llthread.h | |
parent | e2949752c6bf503214ef8b1a759721e1817e28cc (diff) |
EXT-7853: Made LLMutex destructor virtual.
This fixes a potential resource leak whereby the destructor for
LLCondition, which derives from LLMutex, is never called.
Diffstat (limited to 'indra/llcommon/llthread.h')
-rw-r--r-- | indra/llcommon/llthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index adef1a9192..dbb8ec5231 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -135,7 +135,7 @@ class LL_COMMON_API LLMutex { public: LLMutex(apr_pool_t *apr_poolp); // NULL pool constructs a new pool for the mutex - ~LLMutex(); + virtual ~LLMutex(); void lock(); // blocks void unlock(); |