Removed unnecessary null check before cx->free.

This commit is contained in:
Luke Wagner 2009-08-11 11:10:44 -07:00
parent 99d0bce640
commit 21205c39ce

View File

@ -1385,8 +1385,7 @@ array_toSource(JSContext *cx, uintN argc, jsval *vp)
if (IS_SHARP(he)) {
if (!js_AppendLiteral(buf, "[]"))
goto out;
if (sharpchars)
cx->free(sharpchars);
cx->free(sharpchars);
goto make_string;
}
#endif