Memory leaks.

Bug fixes.

svn-id: r32908
This commit is contained in:
Vicent Marti 2008-07-04 20:05:30 +00:00
parent 3b73b199a6
commit 96f2d9ca18
6 changed files with 22 additions and 28 deletions

View file

@ -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;