Skip to content

Commit

Permalink
fix DOF table mapping parser initialization problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrgh committed Sep 2, 2024
1 parent c2e0a03 commit f3b700d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PinballY/DOFClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ void DOFClient::LoadTableMap(ErrorHandler &eh)
}

// parse the XML
std::unique_ptr<xml_document<char>> docp;
std::unique_ptr<xml_document<char>> docp(new (std::nothrow) xml_document<char>());
if (docp == nullptr)
{
LogFile::Get()->Write(LogFile::DofLogging, _T("DOF: out of memory for parsed XML tree for %s\n"), filename.c_str());
Expand Down
2 changes: 1 addition & 1 deletion VersionInfoUpdater/BuildNumber.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9971
9973

0 comments on commit f3b700d

Please sign in to comment.