mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
proper destruction for Project objects
svn path=/branches/xmlbuildsystem/; revision=12778
This commit is contained in:
@@ -280,6 +280,12 @@ XMLElement* XMLParse(XMLFile& f,
|
||||
return e;
|
||||
}
|
||||
|
||||
Project::~Project()
|
||||
{
|
||||
for ( size_t i = 0; i < modules.size(); i++ )
|
||||
delete modules[i];
|
||||
}
|
||||
|
||||
void Project::ProcessXML ( const XMLElement& e, const string& path )
|
||||
{
|
||||
const XMLAttribute *att;
|
||||
|
||||
@@ -59,6 +59,7 @@ public:
|
||||
std::string name;
|
||||
std::vector<Module*> modules;
|
||||
|
||||
~Project();
|
||||
void ProcessXML ( const XMLElement& e, const std::string& path );
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user