diff --git a/SrcBehaviorLoader/PluginLoader.cpp b/SrcBehaviorLoader/PluginLoader.cpp index 9af9875954dbf0c94994202396a1822f01c4a34e..59a86731e052ca9bfdd4ecb606af8f141fc5ddcc 100644 --- a/SrcBehaviorLoader/PluginLoader.cpp +++ b/SrcBehaviorLoader/PluginLoader.cpp @@ -76,11 +76,13 @@ std::vector<std::string> QueryKey(HKEY hKey, std::string path) { qWarning() << "Error opening registry path " << path.c_str(); regKey.Close(); + continue; } if( ERROR_SUCCESS != regKey.QueryStringValue(achValue,szBuffer,&dwBufferSize)) { qWarning() << "Error opening registry value " << achValue; regKey.Close(); + continue; } std::string fp = szBuffer;