aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/InfoBar.mm
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2017-06-05 14:22:22 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2017-06-05 14:22:22 +1000
commit597f4c7293137bf4f229ae880f5cc235c500747a (patch)
treec188263fcaf36734f144b7453ea4a73bd12267f9 /cocoa/InfoBar.mm
parentcb3a1f42ab2fe9eb09d9d497f170bddd4790fc75 (diff)
downloadscintilla-mirror-597f4c7293137bf4f229ae880f5cc235c500747a.tar.gz
Converted to Automatic Reference Counting.
Diffstat (limited to 'cocoa/InfoBar.mm')
-rw-r--r--cocoa/InfoBar.mm8
1 files changed, 0 insertions, 8 deletions
diff --git a/cocoa/InfoBar.mm b/cocoa/InfoBar.mm
index 945d3515e..5d6bdb176 100644
--- a/cocoa/InfoBar.mm
+++ b/cocoa/InfoBar.mm
@@ -185,7 +185,6 @@ static float BarFontSize = 10.0;
// put it in the scrollview.
[self addSubview: mZoomPopup];
- [mZoomPopup release];
// 2) The caret position label.
Class oldCellClass = [NSTextField cellClass];
@@ -204,7 +203,6 @@ static float BarFontSize = 10.0;
[cell setAlignment: NSCenterTextAlignment];
[self addSubview: mCaretPositionLabel];
- [mCaretPositionLabel release];
// 3) The status text.
mStatusTextLabel = [[NSTextField alloc] initWithFrame: NSMakeRect(0.0, 0.0, 1.0, 1.0)];
@@ -219,7 +217,6 @@ static float BarFontSize = 10.0;
[cell setPlaceholderString: @""];
[self addSubview: mStatusTextLabel];
- [mStatusTextLabel release];
// Restore original cell class so that everything else doesn't get broken
[NSTextField setCellClass: oldCellClass];
@@ -227,11 +224,6 @@ static float BarFontSize = 10.0;
//--------------------------------------------------------------------------------------------------
-- (void) dealloc
-{
- [mBackground release];
- [super dealloc];
-}
//--------------------------------------------------------------------------------------------------