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