Back out patch for bug 577648, need to fix a leak.

This commit is contained in:
Brendan Eich
2010-07-23 14:21:50 -07:00
parent 64c4665836
commit 9ffff049bc
27 changed files with 138 additions and 685 deletions

View File

@@ -1774,8 +1774,8 @@ sort_compare_strings(void *arg, const void *a, const void *b, int *result)
return JS_TRUE;
}
JSBool
js::array_sort(JSContext *cx, uintN argc, Value *vp)
static JSBool
array_sort(JSContext *cx, uintN argc, Value *vp)
{
jsuint len, newlen, i, undefs;
size_t elemsize;