From f3b700dc723878fb209b3fedd3461c778b43e8fa Mon Sep 17 00:00:00 2001 From: mjrgh Date: Sun, 1 Sep 2024 19:35:46 -0700 Subject: [PATCH] fix DOF table mapping parser initialization problem --- PinballY/DOFClient.cpp | 2 +- VersionInfoUpdater/BuildNumber.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PinballY/DOFClient.cpp b/PinballY/DOFClient.cpp index 4f3545b..7f92ed5 100644 --- a/PinballY/DOFClient.cpp +++ b/PinballY/DOFClient.cpp @@ -466,7 +466,7 @@ void DOFClient::LoadTableMap(ErrorHandler &eh) } // parse the XML - std::unique_ptr> docp; + std::unique_ptr> docp(new (std::nothrow) xml_document()); if (docp == nullptr) { LogFile::Get()->Write(LogFile::DofLogging, _T("DOF: out of memory for parsed XML tree for %s\n"), filename.c_str()); diff --git a/VersionInfoUpdater/BuildNumber.txt b/VersionInfoUpdater/BuildNumber.txt index 42749dd..7fadd30 100644 --- a/VersionInfoUpdater/BuildNumber.txt +++ b/VersionInfoUpdater/BuildNumber.txt @@ -1 +1 @@ -9971 +9973