Merge pull request #2840 from KevDi/bugfix/deleteRegKeyOnWOW6432Node

Deleting Registry Keys on the WOW6432Node is not possible on 64Bit Applications
This commit is contained in:
Günter Obiltschnig 2019-11-25 11:58:32 +01:00 committed by GitHub
commit 3fdf8624a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,7 @@ void WinRegistryKey::deleteKey()
std::string subKey(_subKey);
subKey += "\\";
subKey += *it;
WinRegistryKey subRegKey(_hRootKey, subKey);
WinRegistryKey subRegKey(_hRootKey, subKey, _readOnly, _extraSam);
subRegKey.deleteKey();
}