diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-21 19:51:55 +0200 |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-22 15:36:05 +0200 |
commit | 7a3ecf5ed5eb12d39f4fb14c821efda0b6a64031 (patch) | |
tree | b5a211784a8ece7bc587817e2e38f193634db209 /Source/cmMakefileUtilityTargetGenerator.h | |
parent | 9f7dc8391746f41b12b90625ad7aa364d2091ebf (diff) | |
download | cmake-7a3ecf5ed5eb12d39f4fb14c821efda0b6a64031.tar.gz |
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 99c16fcee2..fc47b38914 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: }; |