aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript/lscript_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/lscript/lscript_alloc.h')
-rw-r--r--linden/indra/lscript/lscript_alloc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/lscript/lscript_alloc.h b/linden/indra/lscript/lscript_alloc.h
index b195e3a..8179446 100644
--- a/linden/indra/lscript/lscript_alloc.h
+++ b/linden/indra/lscript/lscript_alloc.h
@@ -287,7 +287,9 @@ inline LLScriptLibData *lsa_bubble_sort(LLScriptLibData *src, S32 stride, S32 as
287 287
288 src->mListp = NULL; 288 src->mListp = NULL;
289 289
290 return sortarray[0]; 290 temp = sortarray[0];
291 delete[] sortarray;
292 return temp;
291} 293}
292 294
293 295