Bug 383271: don't hold on to search engine XML documents when they're no longer needed, r=mconnor

This commit is contained in:
gavin@gavinsharp.com 2007-07-08 16:45:35 -07:00
Родитель 4149ec6c2e
Коммит 2a4965cfbd
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -1365,6 +1365,10 @@ Engine.prototype = {
this._type = SEARCH_TYPE_SHERLOCK;
this._parseAsSherlock();
}
// No need to keep a ref to our data (which in some cases can be a document
// element) past this point
this._data = null;
},
/**