Permalink
Browse files

Fixed memory leaks.

  • Loading branch information...
1 parent 9140622 commit 067e4c074d516424c4d6357ba274bc574202f51e @isutton committed Dec 13, 2011
Showing with 11 additions and 11 deletions.
  1. +11 −11 TKPost.m
View
@@ -179,7 +179,7 @@ - (void)dealloc
- (NSString *)title
{
- return [title copy];
+ return [[title copy] autorelease];
}
- (void)setTitle:(NSString *)aTitle
@@ -252,7 +252,7 @@ - (void)dealloc
- (NSString *)text
{
- return [text copy];
+ return [[text copy] autorelease];
}
- (void)setText:(NSString *)aText
@@ -311,7 +311,7 @@ - (void)dealloc
- (NSString *)text
{
- return [text copy];
+ return [[text copy] autorelease];
}
- (void)setText:(NSString *)aText
@@ -324,7 +324,7 @@ - (void)setText:(NSString *)aText
- (NSString *)source
{
- return [source copy];
+ return [[source copy] autorelease];
}
- (void)setSource:(NSString *)aSource
@@ -380,7 +380,7 @@ - (void)dealloc
- (NSString *)text
{
- return [text copy];
+ return [[text copy] autorelease];
}
- (void)setText:(NSString *)aText
@@ -449,7 +449,7 @@ - (void)dealloc
- (NSString *)caption
{
- return [caption copy];
+ return [[caption copy] autorelease];
}
- (void)setCaption:(NSString *)aCaption
@@ -514,7 +514,7 @@ - (void)dealloc
- (NSString *)caption
{
- return [caption copy];
+ return [[caption copy] autorelease];
}
- (void)setCaption:(NSString *)aCaption
@@ -527,7 +527,7 @@ - (void)setCaption:(NSString *)aCaption
- (NSString *)source
{
- return [source copy];
+ return [[source copy] autorelease];
}
- (void)setSource:(NSString *)aSource
@@ -540,7 +540,7 @@ - (void)setSource:(NSString *)aSource
- (NSString *)player
{
- return [player copy];
+ return [[player copy] autorelease];
}
- (void)setPlayer:(NSString *)aPlayer
@@ -595,7 +595,7 @@ - (void)dealloc
- (NSString *)caption
{
- return [caption copy];
+ return [[caption copy] autorelease];
}
- (void)setCaption:(NSString *)aCaption
@@ -608,7 +608,7 @@ - (void)setCaption:(NSString *)aCaption
- (NSString *)player
{
- return [player copy];
+ return [[player copy] autorelease];
}
- (void)setPlayer:(NSString *)aPlayer

0 comments on commit 067e4c0

Please sign in to comment.