2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed memory leak
	* src/MetalinkParserStateMachine.cc
pull/1/head
Tatsuhiro Tsujikawa 2008-08-07 14:14:49 +00:00
parent 4eacf0436a
commit 747e9a0b23
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed memory leak
* src/MetalinkParserStateMachine.cc
2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed memory leak

View File

@ -161,7 +161,8 @@ void MetalinkParserStateMachine::setFinState()
void MetalinkParserStateMachine::setSkipTagState(MetalinkParserState* prevSate)
{
_state = new SkipTagMetalinkParserState(prevSate);
_skipTagState = new SkipTagMetalinkParserState(prevSate);
_state = _skipTagState;
}
void MetalinkParserStateMachine::restoreSavedState()