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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user