mshtml: Decrement refcount in nsWeakReference::Release (Valgrind).
Signed-off-by: Daniel Lehman <dlehman25@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
56ce1d3dec
commit
f21ec7f170
|
@ -1204,7 +1204,7 @@ static nsrefcnt NSAPI nsWeakReference_AddRef(nsIWeakReference *iface)
|
|||
static nsrefcnt NSAPI nsWeakReference_Release(nsIWeakReference *iface)
|
||||
{
|
||||
nsWeakReference *This = impl_from_nsIWeakReference(iface);
|
||||
LONG ref = InterlockedIncrement(&This->ref);
|
||||
LONG ref = InterlockedDecrement(&This->ref);
|
||||
|
||||
TRACE("(%p) ref=%d\n", This, ref);
|
||||
|
||||
|
|
Loading…
Reference in New Issue