Skip to content

Commit

Permalink
Merge pull request #44 from dev4dev/master
Browse files Browse the repository at this point in the history
Memory leak fix
  • Loading branch information
romaonthego committed Jun 24, 2013
2 parents 6410c04 + 5fab5a1 commit 909b70e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions REActivityViewController/REVKActivity.m
Expand Up @@ -200,11 +200,11 @@ - (void)shareText:(NSString *)text

- (NSString *)URLEncodedString:(NSString *)str
{
NSString *result = (__bridge NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,
(CFStringRef)str,
NULL,
CFSTR("!*'();:@&=+$,/?%#[]"),
kCFStringEncodingUTF8);
NSString *result = (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,
(CFStringRef)str,
NULL,
CFSTR("!*'();:@&=+$,/?%#[]"),
kCFStringEncodingUTF8);
return result;
}

Expand Down

0 comments on commit 909b70e

Please sign in to comment.