Release dictionaries when done using them.

This commit is contained in:
Mitchell Livingston 2006-07-15 16:57:06 +00:00
parent 9c12d212e1
commit a1c6bfab1f
1 changed files with 3 additions and 3 deletions

View File

@ -58,8 +58,6 @@
[[NSColor blackColor] set];
[rect fill];
[fButtonDown unlockFocus];
[self setImage: fButtonNormal];
}
return self;
}
@ -108,6 +106,9 @@
[fButtonDown unlockFocus];
[self setImage: fButtonNormal];
[normalAttributes release];
[highlightedAttributes release];
}
- (void) mouseEntered: (NSEvent *) event
@ -143,7 +144,6 @@
- (void) setEnabled: (BOOL) enable
{
fEnabled = enable;
[self setImage: fEnabled ? fButtonIn : fButtonNormal];
}