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:
mscott%netscape.com 1999-04-28 02:40:06 +00:00
Родитель 24f6388228
Коммит c7253e4310
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -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.