Bug #322273 --> Crash at [@ nsMsgQuickSearchDBView::ListIdsInThread]

patch by bievenu

a=mscott for 1.8.0.x


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@188598 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org
2006-01-31 20:30:22 +00:00
parent a5885f36b0
commit 941e8e9ba0

View File

@@ -4062,6 +4062,7 @@ nsresult nsMsgDBView::ExpandByIndex(nsMsgViewIndex index, PRUint32 *pNumExpanded
return NS_MSG_MESSAGE_NOT_FOUND;
}
rv = GetThreadContainingMsgHdr(msgHdr, getter_AddRefs(pThread));
NS_ENSURE_SUCCESS(rv, rv);
m_flags[index] = flags;
NoteChange(index, 1, nsMsgViewNotificationCode::changed);
if (m_viewFlags & nsMsgViewFlagsType::kUnreadOnly)