зеркало из https://github.com/mozilla/pjs.git
fix leak in history, also somewhat inconsequential leak in preferences
This commit is contained in:
Родитель
81989789af
Коммит
b6340c6b01
|
@ -569,6 +569,7 @@ public:
|
|||
{
|
||||
item = [[HistorySiteItem alloc] initWith_nsIHistoryItem:inHistoryItem];
|
||||
[mDataSource itemAdded:item];
|
||||
[item release];
|
||||
}
|
||||
NS_HANDLER
|
||||
NSLog(@"Exception caught in ItemLoaded: %@", localException);
|
||||
|
|
|
@ -127,6 +127,7 @@ NSString* const MVPreferencesWindowNotification = @"MVPreferencesWindowNotificat
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[mCurrentPaneIdentifier autorelease];
|
||||
[mLoadedPanes autorelease];
|
||||
[mPanes autorelease];
|
||||
[mPaneInfo autorelease];
|
||||
|
|
Загрузка…
Ссылка в новой задаче