Permalink
Browse files

BWStyledTextField - Fixed crash when clicking through to the field's …

…cell in IB
  • Loading branch information...
1 parent 8d42139 commit 685e2690798dbafc0a21196190c20bad0231608d Brandon Walkin committed Sep 2, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 BWStyledTextFieldCell.m
View
7 BWStyledTextFieldCell.m
@@ -72,6 +72,13 @@ - (void)encodeWithCoder:(NSCoder *)coder
- (void)dealloc
{
+ shadow = nil;
+ previousAttributes = nil;
+ solidColor = nil;
+ endingColor = nil;
+ startingColor = nil;
+ shadowColor = nil;
+
[shadow release];
[previousAttributes release];
[solidColor release];

0 comments on commit 685e269

Please sign in to comment.