BugFix Post-MemCheck fix memory leaks corrections

This commit is contained in:
Bruno Herbelin
2024-03-03 20:02:29 +01:00
parent f3f7c57f10
commit 62060e0c04
10 changed files with 56 additions and 13 deletions

View File

@@ -423,7 +423,7 @@ void Settings::Load(const string &filename)
return;
// version
int major, minor, patch;
int major = 0, minor = 0, patch = 0;
pRoot->QueryIntAttribute("major", &major);
pRoot->QueryIntAttribute("minor", &minor);
pRoot->QueryIntAttribute("patch", &patch);