diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2017-06-05 14:22:22 +1000 |
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2017-06-05 14:22:22 +1000 |
| commit | 597f4c7293137bf4f229ae880f5cc235c500747a (patch) | |
| tree | c188263fcaf36734f144b7453ea4a73bd12267f9 /cocoa/InfoBar.mm | |
| parent | cb3a1f42ab2fe9eb09d9d497f170bddd4790fc75 (diff) | |
| download | scintilla-mirror-597f4c7293137bf4f229ae880f5cc235c500747a.tar.gz | |
Converted to Automatic Reference Counting.
Diffstat (limited to 'cocoa/InfoBar.mm')
| -rw-r--r-- | cocoa/InfoBar.mm | 8 |
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]; -} //-------------------------------------------------------------------------------------------------- |
