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