diff options
author | McCabe Maxsted | 2010-10-16 16:23:42 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-10-16 21:43:58 -0700 |
commit | 00587735f3d7cc5914e8f75da3de863c2dabaf72 (patch) | |
tree | 0b70df21b2650c706e7893409e3d058628fbc64b /linden | |
parent | #77: Make URLs in group notices clickable (diff) | |
download | meta-impy-00587735f3d7cc5914e8f75da3de863c2dabaf72.zip meta-impy-00587735f3d7cc5914e8f75da3de863c2dabaf72.tar.gz meta-impy-00587735f3d7cc5914e8f75da3de863c2dabaf72.tar.bz2 meta-impy-00587735f3d7cc5914e8f75da3de863c2dabaf72.tar.xz |
Ported memory leak fix in llcommon/llstring.h from the Ascent Viewer
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llcommon/llstring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llstring.h b/linden/indra/llcommon/llstring.h index 7db62bc..3c6cd43 100644 --- a/linden/indra/llcommon/llstring.h +++ b/linden/indra/llcommon/llstring.h | |||
@@ -870,6 +870,7 @@ void LLStringUtilBase<T>::addCRLF(std::basic_string<T>& string) | |||
870 | } | 870 | } |
871 | 871 | ||
872 | string.assign(t, size); | 872 | string.assign(t, size); |
873 | delete[] t; | ||
873 | } | 874 | } |
874 | } | 875 | } |
875 | 876 | ||