From 1c0102ff9ba2444977eb2db98dfec0291da8f6c2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 12 Nov 2014 12:46:33 +0100 Subject: [PATCH] Fix incorrect field name refs #7648 --- lib/base/objectlock.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/objectlock.hpp b/lib/base/objectlock.hpp index 4fd839c5a..2bd1e4cb6 100644 --- a/lib/base/objectlock.hpp +++ b/lib/base/objectlock.hpp @@ -75,7 +75,7 @@ public: #ifdef _DEBUG if (m_Locked) { # ifdef _WIN32 - InterlockedExchange(&m_Object->m_Locked, 0); + InterlockedExchange(&m_Object->m_LockOwner, 0); # else /* _WIN32 */ __sync_lock_test_and_set(&m_Object->m_LockOwner, 0); # endif /* _WIN32 */