From 1c909afe3998778e4cc045c9ab733e8afbf7c25b Mon Sep 17 00:00:00 2001 From: Don Kjer Date: Wed, 2 May 2007 21:24:47 +0000 Subject: svn merge -r 60342:61148 svn+ssh://svn/svn/linden/branches/maintenance into release --- indra/lscript/lscript_alloc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/lscript/lscript_alloc.h') diff --git a/indra/lscript/lscript_alloc.h b/indra/lscript/lscript_alloc.h index 2870364a9c..c9eca7cd81 100644 --- a/indra/lscript/lscript_alloc.h +++ b/indra/lscript/lscript_alloc.h @@ -267,7 +267,9 @@ inline LLScriptLibData *lsa_bubble_sort(LLScriptLibData *src, S32 stride, S32 as src->mListp = NULL; - return sortarray[0]; + temp = sortarray[0]; + delete[] sortarray; + return temp; } -- cgit v1.2.3