mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Don't check memory allocation made using new
Refs: #5288 Patch By: @animus Accepted By: @phosit Comments By: @vladislavbelov Differential Revision: https://code.wildfiregames.com/D5234 This was SVN commit r28014.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2022 Wildfire Games.
|
||||
/* Copyright (C) 2024 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -113,7 +113,7 @@ CTerrainTextureEntry::CTerrainTextureEntry(CTerrainPropertiesPtr properties, con
|
||||
{
|
||||
CTerrainPropertiesPtr ret (new CTerrainProperties(properties));
|
||||
ret->LoadXml(child, &XeroFile, path);
|
||||
if (ret) m_pProperties = ret;
|
||||
m_pProperties = ret;
|
||||
}
|
||||
else if (child_name == el_tag)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user