fix build bustage, NS_IF_RELEASE the raw pointer, not the COM pointer.
git-svn-id: svn://10.0.0.236/trunk@123626 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6b5f0435d2
commit
977eaa489e
@ -667,6 +667,7 @@ jsds_ExecutionHookProc (JSDContext* jsdc, JSDThreadState* jsdthreadstate,
|
||||
NS_IF_ADDREF(inout_rv);
|
||||
hook->OnExecute (frame, type, &inout_rv, &hook_rv);
|
||||
js_rv = inout_rv;
|
||||
NS_IF_RELEASE(inout_rv);
|
||||
gJsds->UnPause(nsnull);
|
||||
jsdStackFrame::InvalidateAll();
|
||||
|
||||
@ -681,7 +682,6 @@ jsds_ExecutionHookProc (JSDContext* jsdc, JSDThreadState* jsdthreadstate,
|
||||
}
|
||||
}
|
||||
|
||||
NS_IF_RELEASE(js_rv);
|
||||
return hook_rv;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user