diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 15:09:25 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 15:09:25 -0800 |
commit | 635290cc8774f0db67d2ee633d287ecf7d767907 (patch) | |
tree | cfb6c560f9e58ea98d5d6b5a6f8b0eb551167d9c /indra/llcommon | |
parent | c5abe04923c8968c38fbca67182d7e3fbd0723d9 (diff) |
CID-186
Checker: RESOURCE_LEAK
Function: LLStringUtilBase<unsigned int>::addCRLF(std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int>>&)
File: /indra/llcommon/llstring.h
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llstring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index 31e70e0fe4..62cedcde4e 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -882,6 +882,7 @@ void LLStringUtilBase<T>::addCRLF(std::basic_string<T>& string) } string.assign(t, size); + delete[] t; } } |