Delete cParseRules when we're done with them. I think this is the last real valgrind issue.
This commit is contained in:
parent
3481d2622a
commit
b3b74fd76e
|
@ -75,6 +75,16 @@ cGenreParseInfo::cGenreParseInfo()
|
||||||
InitPredefinedVariables();
|
InitPredefinedVariables();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cGenreParseInfo::~cGenreParseInfo()
|
||||||
|
{
|
||||||
|
RuleListType::iterator itr;
|
||||||
|
for( itr = mRuleList.begin(); itr != mRuleList.end(); ++itr )
|
||||||
|
{
|
||||||
|
delete *itr;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// AddStopPoint
|
// AddStopPoint
|
||||||
|
|
|
@ -80,6 +80,7 @@ class cGenreParseInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cGenreParseInfo();
|
cGenreParseInfo();
|
||||||
|
~cGenreParseInfo();
|
||||||
|
|
||||||
void AddStopPoint( const cFCOName& name );
|
void AddStopPoint( const cFCOName& name );
|
||||||
// adds the specified path as a stop point -- for now, we just queue it up,
|
// adds the specified path as a stop point -- for now, we just queue it up,
|
||||||
|
|
Loading…
Reference in New Issue