mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
jscript: Fix JSCaller Release refcount.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
3f51fcf8ac
commit
aa7f3b1ef6
|
@ -1017,7 +1017,7 @@ static ULONG WINAPI JSCaller_AddRef(IServiceProvider *iface)
|
|||
static ULONG WINAPI JSCaller_Release(IServiceProvider *iface)
|
||||
{
|
||||
JSCaller *This = impl_from_IServiceProvider(iface);
|
||||
LONG ref = InterlockedIncrement(&This->ref);
|
||||
LONG ref = InterlockedDecrement(&This->ref);
|
||||
|
||||
TRACE("(%p) ref=%ld\n", This, ref);
|
||||
|
||||
|
|
Loading…
Reference in a new issue