Fix memory leak in Makefile generator.
This was introduced by 5d885db416a.
This commit is contained in:
parent
9f7dc83917
commit
7a3ecf5ed5
@ -32,6 +32,13 @@ cmMakefileUtilityTargetGenerator
|
|||||||
this->OSXBundleGenerator->GetMacContentDirectory();
|
this->OSXBundleGenerator->GetMacContentDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
cmMakefileUtilityTargetGenerator
|
||||||
|
::~cmMakefileUtilityTargetGenerator()
|
||||||
|
{
|
||||||
|
delete this->OSXBundleGenerator;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmMakefileUtilityTargetGenerator::WriteRuleFiles()
|
void cmMakefileUtilityTargetGenerator::WriteRuleFiles()
|
||||||
{
|
{
|
||||||
|
@ -19,6 +19,7 @@ class cmMakefileUtilityTargetGenerator:
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cmMakefileUtilityTargetGenerator(cmTarget* target);
|
cmMakefileUtilityTargetGenerator(cmTarget* target);
|
||||||
|
virtual ~cmMakefileUtilityTargetGenerator();
|
||||||
|
|
||||||
/* the main entry point for this class. Writes the Makefiles associated
|
/* the main entry point for this class. Writes the Makefiles associated
|
||||||
with this target */
|
with this target */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user