mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Removed unnecessary null check before cx->free.
This commit is contained in:
parent
99d0bce640
commit
21205c39ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user