fix memory leak when importing HTML bookmark files. Alloc'ing at the beginning of a loop, releasing at the end, but not releasing before a 'continue' statement in the middle. no bug.

This commit is contained in:
joshmoz%gmail.com 2005-02-25 06:28:18 +00:00
Родитель b81c09b121
Коммит 427de5cd86
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -761,6 +761,7 @@ static unsigned gFirstUserCollection = 0;
// middle of the string. Just bail and dont import this bookmark. The parser should be able
// to recover on its own once it gets to the next "<A" token.
[tokenScanner release];
[tokenTag release];
[fileScanner setScanLocation:([fileScanner scanLocation]+1)];
continue;
}