safety in deallocating view
This commit is contained in:
parent
7bba2d02a1
commit
36c2d957f2
|
@ -37,6 +37,7 @@
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
if (fBackgroundColor)
|
||||
[fBackgroundColor release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue