fix build bustage, NS_IF_RELEASE the raw pointer, not the COM pointer.
This commit is contained in:
Родитель
9ec73bfd32
Коммит
b6b105c441
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче