diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-21 17:51:55 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-22 13:36:05 (GMT) |
commit | 7a3ecf5ed5eb12d39f4fb14c821efda0b6a64031 (patch) | |
tree | b5a211784a8ece7bc587817e2e38f193634db209 /Source/cmMakefileUtilityTargetGenerator.cxx | |
parent | 9f7dc8391746f41b12b90625ad7aa364d2091ebf (diff) | |
download | CMake-7a3ecf5ed5eb12d39f4fb14c821efda0b6a64031.zip CMake-7a3ecf5ed5eb12d39f4fb14c821efda0b6a64031.tar.gz CMake-7a3ecf5ed5eb12d39f4fb14c821efda0b6a64031.tar.bz2 |
Fix memory leak in Makefile generator.
This was introduced by 5d885db416a.
Diffstat (limited to 'Source/cmMakefileUtilityTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileUtilityTargetGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefileUtilityTargetGenerator.cxx b/Source/cmMakefileUtilityTargetGenerator.cxx index e8afd45..4456aa7 100644 --- a/Source/cmMakefileUtilityTargetGenerator.cxx +++ b/Source/cmMakefileUtilityTargetGenerator.cxx @@ -33,6 +33,13 @@ cmMakefileUtilityTargetGenerator } //---------------------------------------------------------------------------- +cmMakefileUtilityTargetGenerator +::~cmMakefileUtilityTargetGenerator() +{ + delete this->OSXBundleGenerator; +} + +//---------------------------------------------------------------------------- void cmMakefileUtilityTargetGenerator::WriteRuleFiles() { this->CreateRuleFile(); |