Commit f21ec7f1 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

mshtml: Decrement refcount in nsWeakReference::Release (Valgrind).

parent 56ce1d3d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment