mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
fix bug 69256 nsMsgNewsFolder::UpdateSummaryFromNNTPInfo leaks nsMsgKeySet
patch by hwaara@chello.se r=sspitzer, sr=bienvenu tabs=evil
This commit is contained in:
parent
780cd8507d
commit
aef4cfd76d
@ -19,6 +19,7 @@
|
||||
*
|
||||
* Contributor(s):
|
||||
* Seth Spitzer <sspitzer@netscape.com>
|
||||
* Håkan Waara <hwaara@chello.se>
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*/
|
||||
|
||||
@ -860,6 +861,7 @@ nsMsgNewsFolder::UpdateSummaryFromNNTPInfo(PRInt32 oldest, PRInt32 youngest, PRI
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv),"SetNewsrcHasChanged() failed");
|
||||
}
|
||||
}
|
||||
delete set; // If !mDatabase then we own set, thus we should delete it.
|
||||
}
|
||||
delete [] setStr;
|
||||
setStr = nsnull;
|
||||
|
Loading…
Reference in New Issue
Block a user