From 3d6e88428a847bc1901e94b482e671b9946d2a3e Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 9 Dec 2017 23:20:31 +0100 Subject: [PATCH] [com] ... yeah, almost. --- src/util/com/com_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/com/com_object.h b/src/util/com/com_object.h index f3e961ba..e3939225 100644 --- a/src/util/com/com_object.h +++ b/src/util/com/com_object.h @@ -29,7 +29,7 @@ namespace dxvk { ULONG Release() { ULONG refCount = --m_refCount; if (refCount == 0) { - refCount += 0x80000000u; + m_refCount += 0x80000000u; delete this; } return refCount;