mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 08:57:34 +09:00
Issue #1312 - Fix potential crashes in MailNews.
These are straightforward, one-line changes with no obvious dependencies. Probably could have been taken a long time ago. Ref: BZ 1638634, 1606091
This commit is contained in:
parent
10fdf0e1c5
commit
e3aa3c2963
2 changed files with 8 additions and 7 deletions
|
|
@ -1803,6 +1803,7 @@ nsImapMailFolder::GetImapIncomingServer(nsIImapIncomingServer **aImapIncomingSer
|
|||
if (NS_SUCCEEDED(GetServer(getter_AddRefs(server))) && server)
|
||||
{
|
||||
nsCOMPtr <nsIImapIncomingServer> incomingServer = do_QueryInterface(server);
|
||||
NS_ENSURE_TRUE(incomingServer, NS_ERROR_NO_INTERFACE);
|
||||
incomingServer.swap(*aImapIncomingServer);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue