1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Fix unlikely plStateDescriptor leak

This commit is contained in:
2014-04-26 17:41:11 -04:00
parent 4e35dbf528
commit 783f0e9eb1

View File

@ -187,7 +187,9 @@ int plSDLMgr::Read(hsStream* s, plSDL::DescriptorList* dl)
plStateDescriptor* sd=new plStateDescriptor;
if (sd->Read(s))
dl->push_back(sd);
}
else
delete sd; // well that sucked
}
}
catch(...)
{