mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 17:52:50 +00:00
Revamped CNetClient/CNetServer JS Interface and new CGameAttributes
implementation (moving towards a merger of CGameAttribs into CGame). This was SVN commit r1746.
This commit is contained in:
@@ -127,7 +127,7 @@ jsval ScriptingHost::ExecuteScript(const CStrW& script, const CStrW& calledFrom,
|
||||
|
||||
JSBool ok = JS_EvaluateUCScript(m_Context, contextObject ? contextObject : m_GlobalObject, script.utf16().c_str(), (int)script.Length(), asciiName, 0, &rval);
|
||||
|
||||
delete( asciiName );
|
||||
delete[]( asciiName );
|
||||
|
||||
if (!ok) return JSVAL_NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user