From 0cc3c35b25032da6735d7e95541a4440412aaba5 Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Mon, 21 Aug 2006 03:02:46 +0000 Subject: [PATCH] Checking the patch for bug 346933: crashes [@ morkRowObject::CloseRowObject] during shutdown for David Bienvenu. r=gavin/vladimir a=beltzner git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207977 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/components/search/nsSearchSuggestions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/browser/components/search/nsSearchSuggestions.js b/mozilla/browser/components/search/nsSearchSuggestions.js index 1b967fd350e..6641162aef9 100644 --- a/mozilla/browser/components/search/nsSearchSuggestions.js +++ b/mozilla/browser/components/search/nsSearchSuggestions.js @@ -370,6 +370,9 @@ SuggestAutoComplete.prototype = { } else if (!this._sentSuggestRequest) { // We didn't send a request, so just send back the form history results. this._listener.onSearchResult(this, this._formHistoryResult); + // don't hold onto this until component shutdown! + this._formHistoryResult = null; + } },