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