mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Memory leaks.
Bug fixes. svn-id: r32908
This commit is contained in:
@@ -143,10 +143,7 @@ bool XMLParser::parse() {
|
||||
_pos = 0;
|
||||
_activeKey.clear();
|
||||
|
||||
while (_text[_pos]) {
|
||||
if (_state == kParserError)
|
||||
break;
|
||||
|
||||
while (_text[_pos] && _state != kParserError) {
|
||||
if (skipSpaces())
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user