diff options
Diffstat (limited to 'Source/ImageAndTextCell.m')
-rw-r--r-- | Source/ImageAndTextCell.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ImageAndTextCell.m b/Source/ImageAndTextCell.m index d67b45be..51834825 100644 --- a/Source/ImageAndTextCell.m +++ b/Source/ImageAndTextCell.m @@ -18,7 +18,8 @@ - copyWithZone:(NSZone *)zone { ImageAndTextCell *cell = (ImageAndTextCell *)[super copyWithZone:zone]; - cell->image = [image retain]; + cell->image = nil; + if (image) cell->image = [image copyWithZone:zone]; return cell; } |