summaryrefslogtreecommitdiff
path: root/include/registry/registry.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/registry/registry.hxx')
-rw-r--r--include/registry/registry.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index 8b75a5ec67e6..e9cbff830f4f 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -828,7 +828,8 @@ inline void RegistryKey::releaseKey()
{
if (m_registry.isValid() && (m_hImpl != nullptr))
{
- m_registry.m_pApi->releaseKey(m_hImpl), m_hImpl = nullptr;
+ m_registry.m_pApi->releaseKey(m_hImpl);
+ m_hImpl = nullptr;
}
}