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.h | |
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.h')
-rw-r--r-- | Source/cmMakefileUtilityTargetGenerator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmMakefileUtilityTargetGenerator.h b/Source/cmMakefileUtilityTargetGenerator.h index 99c16fc..fc47b38 100644 --- a/Source/cmMakefileUtilityTargetGenerator.h +++ b/Source/cmMakefileUtilityTargetGenerator.h @@ -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: }; |