зеркало из https://github.com/mozilla/pjs.git
Fix memory leak by releasing the url we just retrieved through a QI. Thanks
to putterman for finding the leak.
This commit is contained in:
Родитель
24f6388228
Коммит
c7253e4310
|
@ -75,6 +75,8 @@ NS_IMETHODIMP nsMsgMailboxParser::OnStartBinding(nsIURL* aURL, const char *aCont
|
|||
NS_ASSERTION(m_mailDB, "failed to open mail db parsing folder");
|
||||
printf("url file = %s\n", fileName);
|
||||
}
|
||||
|
||||
NS_RELEASE(runningUrl);
|
||||
}
|
||||
|
||||
// need to get the mailbox name out of the url and call SetMailboxName with it.
|
||||
|
|
Загрузка…
Ссылка в новой задаче