aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoriteTextFieldCell.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFavoriteTextFieldCell.m')
-rw-r--r--Source/SPFavoriteTextFieldCell.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPFavoriteTextFieldCell.m b/Source/SPFavoriteTextFieldCell.m
index 355ee459..446e8161 100644
--- a/Source/SPFavoriteTextFieldCell.m
+++ b/Source/SPFavoriteTextFieldCell.m
@@ -59,8 +59,10 @@
SPFavoriteTextFieldCell *cell = (SPFavoriteTextFieldCell *)[super copyWithZone:zone];
cell->favoriteName = nil;
-
cell->favoriteName = [favoriteName retain];
+
+ cell->favoriteHost = nil;
+ cell->favoriteHost = [favoriteHost retain];
return cell;
}
@@ -210,6 +212,7 @@
- (void)dealloc
{
[favoriteName release], favoriteName = nil;
+ [favoriteHost release], favoriteHost = nil;
[super dealloc];
}