Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
7a3ecf5e
Commit
7a3ecf5e
authored
Jul 21, 2012
by
Nicolas Despres
Committed by
Peter Kümmel
Jul 22, 2012
Browse files
Fix memory leak in Makefile generator.
This was introduced by
5d885db4
.
parent
9f7dc839
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefileUtilityTargetGenerator.cxx
View file @
7a3ecf5e
...
...
@@ -32,6 +32,13 @@ cmMakefileUtilityTargetGenerator
this
->
OSXBundleGenerator
->
GetMacContentDirectory
();
}
//----------------------------------------------------------------------------
cmMakefileUtilityTargetGenerator
::~
cmMakefileUtilityTargetGenerator
()
{
delete
this
->
OSXBundleGenerator
;
}
//----------------------------------------------------------------------------
void
cmMakefileUtilityTargetGenerator
::
WriteRuleFiles
()
{
...
...
Source/cmMakefileUtilityTargetGenerator.h
View file @
7a3ecf5e
...
...
@@ -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:
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment