Commit 7a3ecf5e authored by Nicolas Despres's avatar Nicolas Despres Committed by Peter Kümmel
Browse files

Fix memory leak in Makefile generator.

This was introduced by 5d885db4.
parent 9f7dc839
......@@ -32,6 +32,13 @@ cmMakefileUtilityTargetGenerator
this->OSXBundleGenerator->GetMacContentDirectory();
}
//----------------------------------------------------------------------------
cmMakefileUtilityTargetGenerator
::~cmMakefileUtilityTargetGenerator()
{
delete this->OSXBundleGenerator;
}
//----------------------------------------------------------------------------
void cmMakefileUtilityTargetGenerator::WriteRuleFiles()
{
......
......@@ -19,6 +19,7 @@ class cmMakefileUtilityTargetGenerator:
{
public:
cmMakefileUtilityTargetGenerator(cmTarget* target);
virtual ~cmMakefileUtilityTargetGenerator();
/* the main entry point for this class. Writes the Makefiles associated
with this target */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment