Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1419)

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm

Issue 2233123003: Fix many memory leaks in chrome/browser/ui/cocoa/omnibox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a double release. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
index 4d7bbcc7170325491929fd05950320949c5e943e..7eeb6a86d914a591d4b1984e425ac9ca0e91136a 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
@@ -465,15 +465,12 @@ NSAttributedString* CreateClassifiedAttributedString(
}
maxLines_ = 1;
}
+ propertyReleaser_OmniboxPopupCellData_.Init(self,
+ [OmniboxPopupCellData class]);
}
return self;
}
-- (void)dealloc {
- [incognitoImage_ release];
- [super dealloc];
-}
-
- (instancetype)copyWithZone:(NSZone*)zone {
return [self retain];
}

Powered by Google App Engine
This is Rietveld 408576698